Skip to content

inconsistent page ordering #1955

Answered by wolfgangwalther
jgbaum asked this question in Q&A
Discussion options

You must be logged in to vote

I can mitigate this by adding an 'order' parameter to the query, but was wondering if there is a cleaner / more foolproof solution?

PostgreSQL does not guarantee sort order without ORDER BY. You are adding that with the order= parameter - which is exactly what you should be doing. This is the correct solution.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1953 on September 20, 2021 06:54.