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

results are ordered wrong #8

Open
JustinAzoff opened this issue Jun 20, 2018 · 0 comments
Open

results are ordered wrong #8

JustinAzoff opened this issue Jun 20, 2018 · 0 comments

Comments

@JustinAzoff
Copy link
Owner

JustinAzoff commented Jun 20, 2018

I forgot that queries and values are stored backwards so that wildcard prefix searching works.

The queries that return results order by the fields, but the fields are backwards so this doesn't work right.

Need to either add an order by in the sql code, or just sort the results in go, which is probably just as fast, and will work the same on sqlite and postgresql.

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

1 participant