Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there any option to persist query caches? #536

Open
miratcan opened this issue Sep 8, 2023 · 1 comment
Open

Are there any option to persist query caches? #536

miratcan opened this issue Sep 8, 2023 · 1 comment

Comments

@miratcan
Copy link

miratcan commented Sep 8, 2023

(If there is it can be run very fast I think.)

@fenchu
Copy link

fenchu commented Oct 18, 2023

Tinydb is just a dict of objects keyed from "1" and upwards,
It is intended as a simple structure for small datasets.
You can cache on the outside by adding a wrapper around the db.search() routine.
if you need this then go for redis or another database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants