Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeorm caching queries time limit by id

const users = await dataSource
    .createQueryBuilder(User, "user")
    .where("user.isAdmin = :isAdmin", { isAdmin: true })
    .cache("users_admins", 25000)
    .getMany()
Source by typeorm.io #
 
PREVIOUS NEXT
Tagged: #typeorm #caching #queries #time #limit #id
ADD COMMENT
Topic
Name
4+7 =