-
Notifications
You must be signed in to change notification settings - Fork 77
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
Implement an SQLite cache #23
Comments
I'm currently working on this, and re-writing the whole model backend, so I'd suggest not doing intensive works in those areas in the meantime. |
I think it's a bad idea to expose SQL queries. |
They will only be used internally. The sorting command and all the cli commands in general will remain the same. |
I had to dump all this, since I'd not considered recurring events. The rewrite will have to take this into consideration. |
We now have two caches:
Can we close this issue? |
The idea behind this is to cache all these fields in a small sqlite db, and simply use SQL to filter (not exposing this to the user, of course). This makes the code on #68 a lot friendlier. Since we only use these fields in Also, it means that we can keep Edit: I've actually some work done on this, but since it's not 100%, it's mostly broken. :( |
Persisting IDs may be a bit annoying because those will eventually become larger, and therefore be harder to type. |
Use a cache for:
id
s to showThe text was updated successfully, but these errors were encountered: