Skip to content

order_by don't add pk when the last is -pk either#707

Merged
berycz merged 1 commit intoiommirocks:masterfrom
berycz:master
Jan 8, 2026
Merged

order_by don't add pk when the last is -pk either#707
berycz merged 1 commit intoiommirocks:masterfrom
berycz:master

Conversation

@berycz
Copy link
Collaborator

@berycz berycz commented Jan 8, 2026

before it would do ORDER BY foo, id DESC, id, now it will do ORDER BY foo, id DESC
it's not strictly needed, databases fix it anyway, but it's cleaner

I don't think this needs a test :)

@berycz berycz merged commit a8c63d9 into iommirocks:master Jan 8, 2026
5 checks passed
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.

1 participant