Skip to content

New sqlc.sort function#4260

Closed
boba-keyost wants to merge 1 commit into
sqlc-dev:mainfrom
boba-keyost:sort-function
Closed

New sqlc.sort function#4260
boba-keyost wants to merge 1 commit into
sqlc-dev:mainfrom
boba-keyost:sort-function

Conversation

@boba-keyost

Copy link
Copy Markdown

Added function to dynamically specify sort field with optional default parameters.

Usage in query

ORDER BY sqlc.sort ( sort_by[, order_dir[, name[, 'asc']]);```

@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. 🔧 golang labels Jan 12, 2026

Copy link
Copy Markdown
Collaborator

🤖 Automated message

This PR has been closed because it has merge conflicts with main. To reopen it, rebase onto the latest main to resolve the conflicts, then reopen the PR.


Generated by Claude Code

@kyleconroy kyleconroy closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files. 🔧 golang

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants