- Notifications
You must be signed in to change notification settings - Fork590
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I could be mistaken but it seems tinydb remembers the last search or maybe returns the same result if nothing about the query or database has changed. I was wondering if there was a way to set the number of searches "remembered". Between 10 - 20 would speed up my application very significantly as it is the same 10-20 searches that happen in random order in a relatively large database (2000 docs or so). I realize I can save results, maybe in another table or in memory or something, however I wanted to know if there was a built in feature. Even more ideally if there was a setting that let me put in an arbitrary value for searches remembered. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
Hey! I think you're talking about the query cache feature. The documentation describeshow to adjust the size of the query cache:
Does that help you? |
BetaWas this translation helpful?Give feedback.