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

Change Cache_expire_time to a partial index because we don't need to query rows efficiently where expire_time IS NULL #305

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

ddorian
Copy link
Contributor

@ddorian ddorian commented Feb 9, 2024

Read https://www.sqlite.org/partialindex.html for an explanation.

The queries are already using where expire_time IS NULL and .., so didn't see a need to change there.

…o query rows efficiently `where expire_time IS NULL`
@ddorian
Copy link
Contributor Author

ddorian commented Feb 26, 2024

@grantjenks review?

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

Successfully merging this pull request may close these issues.

None yet

2 participants