| 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:db71174c-965c-ce22-d7c2-86fffca99c1a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A590:B6C89:876CF0B:BD0698E:6A505632 |
| html-safe-nonce | 8a75217c2bb799d0e03996ba84873fd4d8c990fc6d1b8bc393bae2ae95a2a9c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTkwOkI2Qzg5Ojg3NkNGMEI6QkQwNjk4RTo2QTUwNTYzMiIsInZpc2l0b3JfaWQiOiI0MjcxNDMyODY4NzM5Mzc0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0fda37b784a8001980e86f717bc24c6a6f8ab817a67572940020098b5d923ef1 |
| hovercard-subject-tag | pull_request:1517563154 |
| 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/2735/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c59336712b8b2cdb76f30e4f4ba7d44fd235da9344e04504cdcf263e64fd32e6/sqlc-dev/sqlc/pull/2735 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c59336712b8b2cdb76f30e4f4ba7d44fd235da9344e04504cdcf263e64fd32e6/sqlc-dev/sqlc/pull/2735 |
| og:image:alt | This option adds the raw SQL query as a comment to the generated query function, defaulted to false.
This is useful when working in an IDE that displays comments over functions, you are able to gla... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jasoncabot |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sqlc-dev/sqlc/pull/2735#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F2735 |
| 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%2F2735 |
|
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/2735 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2735 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/2735 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
|
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 |
| sqlc-dev:main | https://github.com/sqlc-dev/sqlc/tree/main |
| jasoncabot:add-sql-as-comment | https://github.com/jasoncabot/sqlc/tree/add-sql-as-comment |
| Conversation | https://github.com/sqlc-dev/sqlc/pull/2735 |
| Commits1 (1) | https://github.com/sqlc-dev/sqlc/pull/2735/commits |
| Checks | https://github.com/sqlc-dev/sqlc/pull/2735/checks |
| Files changed | https://github.com/sqlc-dev/sqlc/pull/2735/files |
| Add emit_sql_as_comment option to Go code plugin | https://github.com/sqlc-dev/sqlc/pull/2735#top |
| kyleconroy | https://github.com/kyleconroy |
| sqlc-dev:main | https://github.com/sqlc-dev/sqlc/tree/main |
| jasoncabot:add-sql-as-comment | https://github.com/jasoncabot/sqlc/tree/add-sql-as-comment |
|
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| Sep 15, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issue-1898667583 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| Code Block | https://tip.golang.org/doc/comment |
| https://private-user-images.githubusercontent.com/93598/268328836-e6cc5038-8ffb-4409-be5c-1f6f2faaa5fe.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2NTAxNDMsIm5iZiI6MTc4MzY0OTg0MywicGF0aCI6Ii85MzU5OC8yNjgzMjg4MzYtZTZjYzUwMzgtOGZmYi00NDA5LWJlNWMtMWY2ZjJmYWFhNWZlLnBuZz9YLUFtei1Bb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NjRiNjI1YjdhZTA1ZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.A2wz1SLBz6XEdVDA_W5PeKNArBzpHyV6s3KSDliHQMo |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| force-pushed | https://github.com/sqlc-dev/sqlc/compare/c0b2129e6e3817da91c5ff0f1236a5a138e34e90..b2e30cb6d19f507295dc7bb99df11700a667fad0 |
| c0b2129 | https://github.com/sqlc-dev/sqlc/commit/c0b2129e6e3817da91c5ff0f1236a5a138e34e90 |
| b2e30cb | https://github.com/sqlc-dev/sqlc/commit/b2e30cb6d19f507295dc7bb99df11700a667fad0 |
|
Compare
| https://github.com/sqlc-dev/sqlc/compare/c0b2129e6e3817da91c5ff0f1236a5a138e34e90..b2e30cb6d19f507295dc7bb99df11700a667fad0 |
| September 19, 2023 08:57 | https://github.com/sqlc-dev/sqlc/pull/2735#event-10407709427 |
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| Sep 20, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issuecomment-1727248326 |
| @kyleconroy | https://github.com/kyleconroy |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/andrewmbenton |
| andrewmbenton | https://github.com/andrewmbenton |
| Sep 29, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issuecomment-1741516600 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/andrewmbenton |
| andrewmbenton | https://github.com/andrewmbenton |
| Sep 29, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#event-10515564076 |
| https://github.com/andrewmbenton |
| andrewmbenton | https://github.com/andrewmbenton |
| Dec 8, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issuecomment-1847958797 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/andrewmbenton |
| andrewmbenton | https://github.com/andrewmbenton |
| Dec 8, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#event-11198383510 |
| https://github.com/andrewmbenton |
| andrewmbenton | https://github.com/andrewmbenton |
|
Dec 9, 2023
| https://github.com/sqlc-dev/sqlc/pull/2735#ref-pullrequest-2033452632 |
|
Add emit_sql_as_comment option to Go code plugin
#3049
| https://github.com/sqlc-dev/sqlc/pull/3049 |
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| Dec 10, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issuecomment-1848937149 |
| jasoncabot@aa15d6a | https://github.com/jasoncabot/sqlc/commit/aa15d6ab5a0f1626e6e6eb45d915ec1d3938eece |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/andrewmbenton |
| andrewmbenton | https://github.com/andrewmbenton |
| Dec 11, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issuecomment-1850494717 |
| jasoncabot@aa15d6a | https://github.com/jasoncabot/sqlc/commit/aa15d6ab5a0f1626e6e6eb45d915ec1d3938eece |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
|
accepted
| https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Aaccepted |
| Dec 11, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#event-11216991282 |
|
| https://github.com/jasoncabot |
| Add emit_sql_as_comment option to Go code plugin | https://github.com/sqlc-dev/sqlc/pull/2735/commits/db0157bc2552831bdb84711d9630cda45406530c |
| db0157b | https://github.com/sqlc-dev/sqlc/pull/2735/commits/db0157bc2552831bdb84711d9630cda45406530c |
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| force-pushed | https://github.com/sqlc-dev/sqlc/compare/b2e30cb6d19f507295dc7bb99df11700a667fad0..db0157bc2552831bdb84711d9630cda45406530c |
| b2e30cb | https://github.com/sqlc-dev/sqlc/commit/b2e30cb6d19f507295dc7bb99df11700a667fad0 |
| db0157b | https://github.com/sqlc-dev/sqlc/commit/db0157bc2552831bdb84711d9630cda45406530c |
|
Compare
| https://github.com/sqlc-dev/sqlc/compare/b2e30cb6d19f507295dc7bb99df11700a667fad0..db0157bc2552831bdb84711d9630cda45406530c |
| December 31, 2023 11:02 | https://github.com/sqlc-dev/sqlc/pull/2735#event-11361425649 |
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| Dec 31, 2023 | https://github.com/sqlc-dev/sqlc/pull/2735#issuecomment-1872921688 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
|
Jan 2, 2024
| https://github.com/sqlc-dev/sqlc/pull/2735#pullrequestreview-1800833832 |
|
View reviewed changes
| https://github.com/sqlc-dev/sqlc/pull/2735/files/db0157bc2552831bdb84711d9630cda45406530c |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| d336e4a | https://github.com/sqlc-dev/sqlc/commit/d336e4a1718088d0fb5bea0bf777e298fd5b8227 |
| Jan 2, 2024 | https://github.com/sqlc-dev/sqlc/pull/2735#event-11372749679 |
| https://github.com/BrewTestBot |
| BrewTestBot | https://github.com/BrewTestBot |
|
Jan 4, 2024
| https://github.com/sqlc-dev/sqlc/pull/2735#ref-pullrequest-2064834155 |
|
sqlc 1.25.0
Homebrew/homebrew-core#158946
| https://github.com/Homebrew/homebrew-core/pull/158946 |
| https://github.com/jasoncabot |
| jasoncabot | https://github.com/jasoncabot |
| January 4, 2024 09:35 | https://github.com/sqlc-dev/sqlc/pull/2735#event-11387495859 |
| alfonsodev | https://github.com/alfonsodev |
|
Oct 13, 2025
| https://github.com/sqlc-dev/sqlc/pull/2735#ref-commit-c8c1965 |
|
| https://github.com/jasoncabot |
| feat: Add | https://github.com/ExponentiaTeam/sqlc/commit/c8c19652ad372a01babaff252b02581dbe00360d |
| emit_sql_as_comment | https://github.com/ExponentiaTeam/sqlc/commit/c8c19652ad372a01babaff252b02581dbe00360d |
| option to Go code plugin ( | https://github.com/ExponentiaTeam/sqlc/commit/c8c19652ad372a01babaff252b02581dbe00360d |
| sqlc-dev#2735 | https://github.com/sqlc-dev/sqlc/pull/2735 |
| ) | https://github.com/ExponentiaTeam/sqlc/commit/c8c19652ad372a01babaff252b02581dbe00360d |
| c8c1965 | https://github.com/ExponentiaTeam/sqlc/commit/c8c19652ad372a01babaff252b02581dbe00360d |
| 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%2F2735 |
|
| https://github.com/kyleconroy |
|
kyleconroy
| https://github.com/kyleconroy |
|
| https://github.com/sqlc-dev/sqlc/pull/2735/files/db0157bc2552831bdb84711d9630cda45406530c |
|
accepted
| https://github.com/sqlc-dev/sqlc/issues?q=state%3Aopen%20label%3Aaccepted |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/2735 |
|
| https://github.com/jasoncabot |
|
| https://github.com/andrewmbenton |
|
| 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 |