| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e1f6d8f6-3a78-b8ec-b130-9c954e1ef645 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9996:9BDE:47C81A1:63B9732:6A50D8F2 |
| html-safe-nonce | 5e19f8c44c2dcd4f54b40957bea0e5655de3fb4a5033b7ddd1a7ed52fce73e9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTk2OjlCREU6NDdDODFBMTo2M0I5NzMyOjZBNTBEOEYyIiwidmlzaXRvcl9pZCI6IjI5NTA5MjY4NjUyNjU2NDU4MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | caa6a43ffebaaf88995110e1ec15a175e62ebdca81658f90340fb01562f26892 |
| hovercard-subject-tag | pull_request:1546100848 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sqlc-dev/sqlc/2815/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7c5b1066a182f7072e1118a84dfece04066ea13487ad2373e1abbe4622e3f06d/sqlc-dev/sqlc/pull/2815 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c5b1066a182f7072e1118a84dfece04066ea13487ad2373e1abbe4622e3f06d/sqlc-dev/sqlc/pull/2815 |
| og:image:alt | Add a new Format method to AST nodes to support writing an AST tree back to SQL. The rendered SQL is checked to be equivalent to the input SQL, not exact. The tests current run against all query.sq... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kyleconroy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-cache |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 73ad5c4eaffed7bb3637024653eabdbca84a855e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sqlc-dev/sqlc/pull/2815#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2815 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F2815 |
|
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 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2815 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2815 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2815 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2815 |
|
sqlc-dev
| https://github.com/sqlc-dev |
| sqlc | https://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 |
| kyleconroy | https://github.com/kyleconroy |
| main | https://github.com/sqlc-dev/sqlc/tree/main |
| kyle/print-ast | https://github.com/sqlc-dev/sqlc/tree/kyle/print-ast |
| Conversation | https://github.com/sqlc-dev/sqlc/pull/2815 |
| Commits12 (12) | https://github.com/sqlc-dev/sqlc/pull/2815/commits |
| Checks | https://github.com/sqlc-dev/sqlc/pull/2815/checks |
| Files changed | https://github.com/sqlc-dev/sqlc/pull/2815/files |
| feat(sql/ast): Render AST to SQL | https://github.com/sqlc-dev/sqlc/pull/2815#top |
| kyleconroy | https://github.com/kyleconroy |
| main | https://github.com/sqlc-dev/sqlc/tree/main |
| kyle/print-ast | https://github.com/sqlc-dev/sqlc/tree/kyle/print-ast |
|
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| Oct 6, 2023 | https://github.com/sqlc-dev/sqlc/pull/2815#issue-1931034140 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2815 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2815 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| October 12, 2023 00:49 | https://github.com/sqlc-dev/sqlc/pull/2815#event-10625604399 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| Oct 12, 2023 | https://github.com/sqlc-dev/sqlc/pull/2815#event-10625636560 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| force-pushed | https://github.com/sqlc-dev/sqlc/compare/01f7622cce3e8584d7320e4456007ad52986d8c9..bf440e33b5fb698f670f1e8f9f2658f893dd7a91 |
| 01f7622 | https://github.com/sqlc-dev/sqlc/commit/01f7622cce3e8584d7320e4456007ad52986d8c9 |
| bf440e3 | https://github.com/sqlc-dev/sqlc/commit/bf440e33b5fb698f670f1e8f9f2658f893dd7a91 |
|
Compare
| https://github.com/sqlc-dev/sqlc/compare/01f7622cce3e8584d7320e4456007ad52986d8c9..bf440e33b5fb698f670f1e8f9f2658f893dd7a91 |
| October 12, 2023 01:21 | https://github.com/sqlc-dev/sqlc/pull/2815#event-10625744555 |
| kyleconroy | https://github.com/kyleconroy |
| October 12, 2023 11:46 | https://github.com/sqlc-dev/sqlc/pull/2815#commits-pushed-feab40b |
|
| https://github.com/kyleconroy |
| feat(sql/ast): Early support for rendering SQL AST | https://github.com/sqlc-dev/sqlc/pull/2815/commits/feab40b65ba61865d4c500e61c14c730537acb86 |
| feab40b | https://github.com/sqlc-dev/sqlc/pull/2815/commits/feab40b65ba61865d4c500e61c14c730537acb86 |
|
| https://github.com/kyleconroy |
| Support a few more nodes | https://github.com/sqlc-dev/sqlc/pull/2815/commits/2912c86f8ceab828a5e67bec9c32b12db2969d22 |
| 2912c86 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/2912c86f8ceab828a5e67bec9c32b12db2969d22 |
|
| https://github.com/kyleconroy |
| Print more nodes | https://github.com/sqlc-dev/sqlc/pull/2815/commits/e1479b5bdf512369cc1929c5fa5a228cb87aba86 |
| e1479b5 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/e1479b5bdf512369cc1929c5fa5a228cb87aba86 |
|
| https://github.com/kyleconroy |
| Test all queries in endtoend | https://github.com/sqlc-dev/sqlc/pull/2815/commits/6e6d1f3b774aea8759ad05d94d9e6f6f8f543101 |
| 6e6d1f3 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/6e6d1f3b774aea8759ad05d94d9e6f6f8f543101 |
|
| https://github.com/kyleconroy |
| More Format | https://github.com/sqlc-dev/sqlc/pull/2815/commits/8a9a3c8ed507bc7dc88441092f3d53d732c7cd88 |
| 8a9a3c8 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/8a9a3c8ed507bc7dc88441092f3d53d732c7cd88 |
|
| https://github.com/kyleconroy |
| Close to all tests passing | https://github.com/sqlc-dev/sqlc/pull/2815/commits/f566907c135f01e14c9806dac61e086263a5a1d4 |
| f566907 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/f566907c135f01e14c9806dac61e086263a5a1d4 |
|
| https://github.com/kyleconroy |
| fmt | https://github.com/sqlc-dev/sqlc/pull/2815/commits/fe5d5c396120b1b163115ccf44f1989a2764ee1d |
| fe5d5c3 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/fe5d5c396120b1b163115ccf44f1989a2764ee1d |
|
| https://github.com/kyleconroy |
| All tests pass (for now) | https://github.com/sqlc-dev/sqlc/pull/2815/commits/872127d9251fac0cccddd983c8f35be3130800ef |
| 872127d | https://github.com/sqlc-dev/sqlc/pull/2815/commits/872127d9251fac0cccddd983c8f35be3130800ef |
|
| https://github.com/kyleconroy |
| sometime move package to not main | https://github.com/sqlc-dev/sqlc/pull/2815/commits/3ee1612b71ba4e40d45f75ca510f4a79cde43ec1 |
| 3ee1612 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/3ee1612b71ba4e40d45f75ca510f4a79cde43ec1 |
|
| https://github.com/kyleconroy |
| fix tests (again) | https://github.com/sqlc-dev/sqlc/pull/2815/commits/c30e1f797b0a5f20ae4731d26dff3ec4cffd1232 |
| c30e1f7 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/c30e1f797b0a5f20ae4731d26dff3ec4cffd1232 |
|
| https://github.com/kyleconroy |
| merge | https://github.com/sqlc-dev/sqlc/pull/2815/commits/15c8702c5d9e611ca3fb51d1b410a8d7248970fd |
| 15c8702 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/15c8702c5d9e611ca3fb51d1b410a8d7248970fd |
|
| https://github.com/kyleconroy |
| fix | https://github.com/sqlc-dev/sqlc/pull/2815/commits/43ec6f13ed62b593784ba919b0c0139f42019a05 |
| 43ec6f1 | https://github.com/sqlc-dev/sqlc/pull/2815/commits/43ec6f13ed62b593784ba919b0c0139f42019a05 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| force-pushed | https://github.com/sqlc-dev/sqlc/compare/bf440e33b5fb698f670f1e8f9f2658f893dd7a91..43ec6f13ed62b593784ba919b0c0139f42019a05 |
| bf440e3 | https://github.com/sqlc-dev/sqlc/commit/bf440e33b5fb698f670f1e8f9f2658f893dd7a91 |
| 43ec6f1 | https://github.com/sqlc-dev/sqlc/commit/43ec6f13ed62b593784ba919b0c0139f42019a05 |
|
Compare
| https://github.com/sqlc-dev/sqlc/compare/bf440e33b5fb698f670f1e8f9f2658f893dd7a91..43ec6f13ed62b593784ba919b0c0139f42019a05 |
| October 12, 2023 18:46 | https://github.com/sqlc-dev/sqlc/pull/2815#event-10635617648 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| 53d1792 | https://github.com/sqlc-dev/sqlc/commit/53d179202ceea914d45a78b85dfc2472494b2004 |
| Oct 12, 2023 | https://github.com/sqlc-dev/sqlc/pull/2815#event-10635730558 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| October 12, 2023 18:57 | https://github.com/sqlc-dev/sqlc/pull/2815#event-10635730669 |
| https://github.com/p-linnane |
| p-linnane | https://github.com/p-linnane |
|
Oct 24, 2023
| https://github.com/sqlc-dev/sqlc/pull/2815#ref-pullrequest-1960181296 |
|
sqlc 1.23.0
Homebrew/homebrew-core#152306
| https://github.com/Homebrew/homebrew-core/pull/152306 |
| alfonsodev | https://github.com/alfonsodev |
|
Oct 13, 2025
| https://github.com/sqlc-dev/sqlc/pull/2815#ref-commit-a536d13 |
|
| https://github.com/kyleconroy |
| feat(sql/ast): Render AST to SQL ( | https://github.com/ExponentiaTeam/sqlc/commit/a536d13f69045a79a9e67452051f6b3d97dfa69f |
| sqlc-dev#2815 | https://github.com/sqlc-dev/sqlc/pull/2815 |
| ) | https://github.com/ExponentiaTeam/sqlc/commit/a536d13f69045a79a9e67452051f6b3d97dfa69f |
| a536d13 | https://github.com/ExponentiaTeam/sqlc/commit/a536d13f69045a79a9e67452051f6b3d97dfa69f |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2815 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2815 |
|
| https://github.com/kyleconroy |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |