René's URL Explorer Experiment


Title: fix(sqlite): order by args by khepin · Pull Request #4374 · sqlc-dev/sqlc · GitHub

Open Graph Title: fix(sqlite): order by args by khepin · Pull Request #4374 · sqlc-dev/sqlc

X Title: fix(sqlite): order by args by khepin · Pull Request #4374 · sqlc-dev/sqlc

Description: Generate type-safe code from SQL. Contribute to sqlc-dev/sqlc development by creating an account on GitHub.

Open Graph Description: This is a follow up on #3962 initial PR desciprtion: sqlc currently doesn't handle bound ORDER BY clauses in sqlite, nor does it have tests for this behavior. This PR attempts for rectify this...

X Description: This is a follow up on #3962 initial PR desciprtion: sqlc currently doesn't handle bound ORDER BY clauses in sqlite, nor does it have tests for this behavior. This PR attempts for rectify ...

Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/4374

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:761eaeb8-826a-86bd-5914-72e1404fb8cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDAE:446DE:4DD8C36:6CE1889:6A508E6E
html-safe-nonce30fca57a3e6daf98f1db91b4e2352bebdea3c2dfc4bdc9fd37bce17d4ef6a0b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREFFOjQ0NkRFOjRERDhDMzY6NkNFMTg4OTo2QTUwOEU2RSIsInZpc2l0b3JfaWQiOiI2ODg2MTEyNjQ1MDI5NTk2NzgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac741de29b7fe1a53150713153db379b92b3e2f41ba0dd79594d8b03ebb4598bcf
hovercard-subject-tagpull_request:3531864893
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sqlc-dev/sqlc/4374/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/43f83689d6cb53964a59147c134f1b7c110e2d967cffdbe6ac2deaee57cf59a1/sqlc-dev/sqlc/pull/4374
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/43f83689d6cb53964a59147c134f1b7c110e2d967cffdbe6ac2deaee57cf59a1/sqlc-dev/sqlc/pull/4374
og:image:altThis is a follow up on #3962 initial PR desciprtion: sqlc currently doesn't handle bound ORDER BY clauses in sqlite, nor does it have tests for this behavior. This PR attempts for rectify this...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekhepin
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
turbo-cache-controlno-cache
go-importgithub.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id193160679
octolytics-dimension-repository_nwosqlc-dev/sqlc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193160679
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/4374#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4374
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4374
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4374
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4374
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4374
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4374
sqlc-dev https://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Notifications https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Fork 1.1k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Star 18k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Code https://github.com/sqlc-dev/sqlc
Issues 597 https://github.com/sqlc-dev/sqlc/issues
Pull requests 106 https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality 0 https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
Code https://github.com/sqlc-dev/sqlc
Issues https://github.com/sqlc-dev/sqlc/issues
Pull requests https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
khepinhttps://github.com/khepin
sqlc-dev:mainhttps://github.com/sqlc-dev/sqlc/tree/main
khepin:fix-sqlite-order-by-argshttps://github.com/khepin/sqlc/tree/fix-sqlite-order-by-args
Conversationhttps://github.com/sqlc-dev/sqlc/pull/4374
Commits7 (7)https://github.com/sqlc-dev/sqlc/pull/4374/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/4374/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/4374/files
fix(sqlite): order by argshttps://github.com/sqlc-dev/sqlc/pull/4374#top
khepinhttps://github.com/khepin
sqlc-dev:mainhttps://github.com/sqlc-dev/sqlc/tree/main
khepin:fix-sqlite-order-by-argshttps://github.com/khepin/sqlc/tree/fix-sqlite-order-by-args
https://github.com/khepin
khepinhttps://github.com/khepin
Apr 15, 2026https://github.com/sqlc-dev/sqlc/pull/4374#issue-4266301872
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4374
#3962https://github.com/sqlc-dev/sqlc/pull/3962
#3788https://github.com/sqlc-dev/sqlc/issues/3788
@andriygmhttps://github.com/andriygm
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4374
andriygmhttps://github.com/andriygm
May 14, 2025 10:16https://github.com/sqlc-dev/sqlc/pull/4374#commits-pushed-790309d
https://github.com/andriygm
Fix order by clause in sqlitehttps://github.com/sqlc-dev/sqlc/pull/4374/commits/790309db8be6930ecc821ff308feb8ff9ab1c9ab
790309dhttps://github.com/sqlc-dev/sqlc/pull/4374/commits/790309db8be6930ecc821ff308feb8ff9ab1c9ab
https://github.com/andriygm
Add test for mixed param casehttps://github.com/sqlc-dev/sqlc/pull/4374/commits/1c9ee2ec91396c442b5aa92b1a565b887ec1be83
1c9ee2ehttps://github.com/sqlc-dev/sqlc/pull/4374/commits/1c9ee2ec91396c442b5aa92b1a565b887ec1be83
https://github.com/khepin
Merge remote-tracking branch 'origin/main' into fix-sqlite-order-by-argshttps://github.com/sqlc-dev/sqlc/pull/4374/commits/ebbbebd47bbdc0093e6fe92d71306200a3479bdd
ebbbebdhttps://github.com/sqlc-dev/sqlc/pull/4374/commits/ebbbebd47bbdc0093e6fe92d71306200a3479bdd
sqlc-dev#4259https://github.com/sqlc-dev/sqlc/pull/4259
sqlc-dev#4328https://github.com/sqlc-dev/sqlc/pull/4328
sqlc-dev#4348https://github.com/sqlc-dev/sqlc/pull/4348
sqlc-dev#4312https://github.com/sqlc-dev/sqlc/pull/4312
sqlc-dev#4310https://github.com/sqlc-dev/sqlc/pull/4310
sqlc-dev#4294https://github.com/sqlc-dev/sqlc/pull/4294
sqlc-dev#4296https://github.com/sqlc-dev/sqlc/pull/4296
sqlc-dev#4304https://github.com/sqlc-dev/sqlc/pull/4304
sqlc-dev#4303https://github.com/sqlc-dev/sqlc/pull/4303
sqlc-dev#4284https://github.com/sqlc-dev/sqlc/pull/4284
sqlc-dev#4267https://github.com/sqlc-dev/sqlc/pull/4267
sqlc-dev#4258https://github.com/sqlc-dev/sqlc/pull/4258
sqlc-dev#4256https://github.com/sqlc-dev/sqlc/pull/4256
sqlc-dev#4248https://github.com/sqlc-dev/sqlc/pull/4248
sqlc-dev#4254https://github.com/sqlc-dev/sqlc/pull/4254
sqlc-dev#4253https://github.com/sqlc-dev/sqlc/pull/4253
sqlc-dev#4246https://github.com/sqlc-dev/sqlc/pull/4246
sqlc-dev#4240https://github.com/sqlc-dev/sqlc/pull/4240
sqlc-dev#4237https://github.com/sqlc-dev/sqlc/pull/4237
sqlc-dev#4236https://github.com/sqlc-dev/sqlc/pull/4236
https://github.com/khepin
Re-use parametershttps://github.com/sqlc-dev/sqlc/pull/4374/commits/c78b77b3b121a23668e743e3d537089a10ff1e44
c78b77bhttps://github.com/sqlc-dev/sqlc/pull/4374/commits/c78b77b3b121a23668e743e3d537089a10ff1e44
https://github.com/khepin
cleanuphttps://github.com/sqlc-dev/sqlc/pull/4374/commits/47dc9673f8a9714d05cfd0da55d284fc38c775e9
47dc967https://github.com/sqlc-dev/sqlc/pull/4374/commits/47dc9673f8a9714d05cfd0da55d284fc38c775e9
https://github.com/khepin
commenthttps://github.com/sqlc-dev/sqlc/pull/4374/commits/f2141f837a524e65ebc6bce6ef493531d0f47573
f2141f8https://github.com/sqlc-dev/sqlc/pull/4374/commits/f2141f837a524e65ebc6bce6ef493531d0f47573
https://github.com/apps/dosubot
dosubothttps://github.com/apps/dosubot
size:L https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Asize%3AL
Apr 15, 2026https://github.com/sqlc-dev/sqlc/pull/4374#event-24513788682
https://github.com/khepin
khepinhttps://github.com/khepin
Apr 16, 2026https://github.com/sqlc-dev/sqlc/pull/4374#event-24586493945
https://github.com/rubensantoniorosa2704
rubensantoniorosa2704https://github.com/rubensantoniorosa2704
Apr 17, 2026https://github.com/sqlc-dev/sqlc/pull/4374#issuecomment-4270301329
@khepinhttps://github.com/khepin
#4379https://github.com/sqlc-dev/sqlc/pull/4379
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4374
https://github.com/khepin
Merge branch 'main' ofhttps://github.com/sqlc-dev/sqlc/pull/4374/commits/1613aec04418ac005caf28d3a56a602374518e80
https://github.com/sqlc-dev/sqlchttps://github.com/sqlc-dev/sqlc
into fix-sqli…https://github.com/sqlc-dev/sqlc/pull/4374/commits/1613aec04418ac005caf28d3a56a602374518e80
1613aechttps://github.com/sqlc-dev/sqlc/pull/4374/commits/1613aec04418ac005caf28d3a56a602374518e80
https://github.com/sqlc-dev/sqlchttps://github.com/sqlc-dev/sqlc
sqlc-dev#4387https://github.com/sqlc-dev/sqlc/pull/4387
sqlc-dev#4383https://github.com/sqlc-dev/sqlc/pull/4383
sqlc-dev#4385https://github.com/sqlc-dev/sqlc/pull/4385
sqlc-dev#4384https://github.com/sqlc-dev/sqlc/pull/4384
sqlc-dev#4382https://github.com/sqlc-dev/sqlc/pull/4382
sqlc-dev#4381https://github.com/sqlc-dev/sqlc/pull/4381
sqlc-dev#4380https://github.com/sqlc-dev/sqlc/pull/4380
sqlc-dev#4368https://github.com/sqlc-dev/sqlc/pull/4368
sqlc-dev#4363https://github.com/sqlc-dev/sqlc/pull/4363
sqlc-dev#4357https://github.com/sqlc-dev/sqlc/pull/4357
sqlc-dev#4379https://github.com/sqlc-dev/sqlc/pull/4379
sqlc-dev#4378https://github.com/sqlc-dev/sqlc/pull/4378
sqlc-dev#4320https://github.com/sqlc-dev/sqlc/pull/4320
sqlc-dev#4371https://github.com/sqlc-dev/sqlc/pull/4371
sqlc-dev#4377https://github.com/sqlc-dev/sqlc/pull/4377
sqlc-dev#4366https://github.com/sqlc-dev/sqlc/pull/4366
https://github.com/khepin
khepinhttps://github.com/khepin
Apr 18, 2026https://github.com/sqlc-dev/sqlc/pull/4374#issuecomment-4272818144
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4374
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4374
size:L https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Asize%3AL
Args in sqlite ORDER BY not respected https://github.com/sqlc-dev/sqlc/issues/3788
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4374
https://github.com/khepin
https://github.com/rubensantoniorosa2704
https://github.com/andriygm
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.