Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeorm caching queries limit

const users = await dataSource.getRepository(User).find({
    where: { isAdmin: true },
    cache: 60000,
})
Source by typeorm.io #
 
PREVIOUS NEXT
Tagged: #typeorm #caching #queries #limit
ADD COMMENT
Topic
Name
7+7 =