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

Support custom ordering in paginated queries #290

Closed
ff137 opened this issue Jul 25, 2024 · 0 comments · Fixed by #291
Closed

Support custom ordering in paginated queries #290

ff137 opened this issue Jul 25, 2024 · 0 comments · Fixed by #291

Comments

@ff137
Copy link
Contributor

ff137 commented Jul 25, 2024

Currently, paginated querying of storage records does not take a custom ordering option, nor does it specify a default ordering in the SQL query being made. This means that DB shuffling or new records being added, can lead to duplicate or missing results across pages being returned. To resolve this, support for custom ordering should be added to the scan method.

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 a pull request may close this issue.

1 participant