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

Updated the SQL for checking session id prefixes #1048

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

mpretty-cyro
Copy link
Collaborator

Updated the SQLite queries wherever we were using {column} LIKE '05%' to instead check {column} > '05' AND {column} < '06' so that we get the benefits of the indexed column

@mpretty-cyro mpretty-cyro self-assigned this Oct 20, 2024
@RyanRory RyanRory merged commit fac94f9 into oxen-io:dev Oct 24, 2024
1 check passed
@mpretty-cyro mpretty-cyro deleted the feature/query-optimisation branch November 27, 2024 03:21
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.

2 participants