tinydb icon indicating copy to clipboard operation
tinydb copied to clipboard

Are there any option to persist query caches?

Open miratcan opened this issue 2 years ago • 1 comments

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

miratcan avatar Sep 08 '23 14:09 miratcan

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.

fenchu avatar Oct 18 '23 09:10 fenchu