We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given
boss_db:find(fixation_target, []).
The query generated is:
12:06:46.827 [info] QUERY: SELECT * FROM fixation_targets WHERE TRUE ORDER BY id ASC PARAMS []
Which seems like a bad idea as it is wasting time sorting UUID id's.
The text was updated successfully, but these errors were encountered:
Here's a hacky way to get around that on Postgres:
boss_db:find(fixation_target, [], [{order_by, 'true'}])
Sorry, something went wrong.
No branches or pull requests
Given
The query generated is:
Which seems like a bad idea as it is wasting time sorting UUID id's.
The text was updated successfully, but these errors were encountered: