| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:d443300d-dd45-f0d3-46ac-8c18d06a3a3e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D74A:DB09F:20D0758:29D247A:6B017A5E |
| html-safe-nonce | 4cb5a6900e5f4c937b2bd7d9b6f4a5db03d73ae126fa7731459728fa3bea2dc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzRBOkRCMDlGOjIwRDA3NTg6MjlEMjQ3QTo2QjAxN0E1RSIsInZpc2l0b3JfaWQiOiI1NTYzOTM0NjA5NjcyMDc1ODcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b2349b90eb2e54453b8588c3d400eec1bb4629e62703f9f9b9cf68a5ae9202a2 |
| hovercard-subject-tag | pull_request:385733733 |
| 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/387/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3f44b9480998d24295fd3db4b74f9ca562b291476391ab8cb49dc61fa21376aa/sqlc-dev/sqlc/pull/387 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f44b9480998d24295fd3db4b74f9ca562b291476391ab8cb49dc61fa21376aa/sqlc-dev/sqlc/pull/387 |
| og:image:alt | This change allows the use of face interfaces to write somewhat generic
mapping methods.
Example:
// An example of an application-level structure
type AppAuthor struct {
ID int64
Name string
B... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Cyberax |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/sqlc-dev/sqlc/pull/387#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F387 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F387 |
| 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/387 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/387 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/387 |
| sqlc-dev | https://github.com/sqlc-dev |
| sqlc | https://github.com/sqlc-dev/sqlc |
| Code | https://github.com/sqlc-dev/sqlc |
| Issues600 (600) | https://github.com/sqlc-dev/sqlc/issues |
| Pull requests132 (132) | 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/insights |
| https://github.com/sqlc-dev/sqlc |
| Cyberax | https://github.com/Cyberax |
| sqlc-dev:main | https://github.com/sqlc-dev/sqlc/tree/main |
| Conversation | https://github.com/sqlc-dev/sqlc/pull/387 |
| Commits2 (2) | https://github.com/sqlc-dev/sqlc/pull/387/commits |
| Checks | https://github.com/sqlc-dev/sqlc/pull/387/checks |
| Files changed | https://github.com/sqlc-dev/sqlc/pull/387/files |
| Generate getter methods for query models | https://github.com/sqlc-dev/sqlc/pull/387#top |
| Cyberax | https://github.com/Cyberax |
| sqlc-dev:main | https://github.com/sqlc-dev/sqlc/tree/main |
|
| https://github.com/Cyberax |
| Cyberax | https://github.com/Cyberax |
| Mar 9, 2020 | https://github.com/sqlc-dev/sqlc/pull/387#issue-578088192 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
|
| https://github.com/Cyberax |
| Generate getter methods for query models | https://github.com/sqlc-dev/sqlc/pull/387/commits/feeac9f864b87269b15c5f0c0e27bf2274945ca8 |
| feeac9f | https://github.com/sqlc-dev/sqlc/pull/387/commits/feeac9f864b87269b15c5f0c0e27bf2274945ca8 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| March 9, 2020 20:40 | https://github.com/sqlc-dev/sqlc/pull/387#event-3112326688 |
|
| https://github.com/Cyberax |
| Merge branch 'master' into master | https://github.com/sqlc-dev/sqlc/pull/387/commits/5519cbfcf6cac5895b24e3ade31be537e8853a06 |
| 5519cbf | https://github.com/sqlc-dev/sqlc/pull/387/commits/5519cbfcf6cac5895b24e3ade31be537e8853a06 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
|
Apr 2, 2020
| https://github.com/sqlc-dev/sqlc/pull/387#pullrequestreview-386067448 |
|
View reviewed changes
| https://github.com/sqlc-dev/sqlc/pull/387/files/5519cbfcf6cac5895b24e3ade31be537e8853a06 |
| kyleconroy | https://github.com/kyleconroy |
| https://github.com/sqlc-dev/sqlc/pull/387#pullrequestreview-386067448 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @Cyberax | https://github.com/Cyberax |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| https://github.com/Cyberax |
| Cyberax | https://github.com/Cyberax |
| Apr 2, 2020 | https://github.com/sqlc-dev/sqlc/pull/387#issuecomment-607620262 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| https://github.com/tschaub |
| tschaub | https://github.com/tschaub |
|
Apr 13, 2020
| https://github.com/sqlc-dev/sqlc/pull/387#ref-issue-596862857 |
|
Generate types with methods that can be used as interfaces
#444
| https://github.com/sqlc-dev/sqlc/issues/444 |
| https://github.com/Cyberax |
| Cyberax | https://github.com/Cyberax |
| May 3, 2020 | https://github.com/sqlc-dev/sqlc/pull/387#issuecomment-623196840 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| https://github.com/rf |
| rf | https://github.com/rf |
| May 18, 2020 | https://github.com/sqlc-dev/sqlc/pull/387#issuecomment-630479965 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| https://github.com/akshayjshah |
| akshayjshah | https://github.com/akshayjshah |
| May 31, 2020 | https://github.com/sqlc-dev/sqlc/pull/387#issuecomment-636495803 |
| "Method declarations" | https://golang.org/ref/spec#Method_declarations |
| @rf | https://github.com/rf |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| https://github.com/Cyberax |
| Cyberax | https://github.com/Cyberax |
| Jun 24, 2021 | https://github.com/sqlc-dev/sqlc/pull/387#event-4932546464 |
| https://github.com/leg100 |
| leg100 | https://github.com/leg100 |
|
Apr 28, 2022
| https://github.com/sqlc-dev/sqlc/pull/387#ref-issue-1218964941 |
|
Proposal: Accessor methods for row structs
jschaf/pggen#57
| https://github.com/jschaf/pggen/issues/57 |
| https://github.com/jamesleeht |
| jamesleeht | https://github.com/jamesleeht |
|
Aug 2, 2023
| https://github.com/sqlc-dev/sqlc/pull/387#ref-issue-732308708 |
|
Support for custom models
#755
| https://github.com/sqlc-dev/sqlc/issues/755 |
| https://github.com/ktogo |
| ktogo | https://github.com/ktogo |
|
Jan 10, 2024
| https://github.com/sqlc-dev/sqlc/pull/387#ref-issue-2074828627 |
|
Proposal: Add option to emit //go:generate annotation
#3124
| https://github.com/sqlc-dev/sqlc/issues/3124 |
| 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%2F387 |
|
| https://github.com/kyleconroy |
|
kyleconroy
| https://github.com/kyleconroy |
|
| https://github.com/sqlc-dev/sqlc/pull/387/files/5519cbfcf6cac5895b24e3ade31be537e8853a06 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/387 |
|
| https://github.com/Cyberax |
|
| https://github.com/rf |
|
| https://github.com/akshayjshah |
|
| 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 |