René's URL Explorer Experiment


Title: Add an emit_db_tags config option to support interoperability with gorp by alecbz · Pull Request #656 · sqlc-dev/sqlc · GitHub

Open Graph Title: Add an emit_db_tags config option to support interoperability with gorp by alecbz · Pull Request #656 · sqlc-dev/sqlc

X Title: Add an emit_db_tags config option to support interoperability with gorp by alecbz · Pull Request #656 · 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 option is very similar to emit_json_tags, but it uses "db" as the tag name. This allows us to use sqlc-generated models with gorp, which is especially useful as a workaround to #364....

X Description: This option is very similar to emit_json_tags, but it uses "db" as the tag name. This allows us to use sqlc-generated models with gorp, which is especially useful as a workaround ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ece5ecc2-a873-f1bd-8455-d7b5a5419747
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE28:8AE25:3708:470A:6B017E5F
html-safe-nonceefd20c32f9b9d68680390d2f528b7b2bf14a9a6357dd26ce6e9c3bc4fb5ca0ff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTI4OjhBRTI1OjM3MDg6NDcwQTo2QjAxN0U1RiIsInZpc2l0b3JfaWQiOiI0MjE3MDU5MjI3MTMzMjEwNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0edc7ca71dba5677be0518845c915e44333e9845942d8967494b7e693bfcde95
hovercard-subject-tagpull_request:464186354
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/656/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e33a298b71e3ea0413bad0b4a6715e0e33039628f9bbc28f4373d158afe95a78/sqlc-dev/sqlc/pull/656
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e33a298b71e3ea0413bad0b4a6715e0e33039628f9bbc28f4373d158afe95a78/sqlc-dev/sqlc/pull/656
og:image:altThis option is very similar to emit_json_tags, but it uses "db" as the tag name. This allows us to use sqlc-generated models with gorp, which is especially useful as a workaround to #364....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealecbz
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/656#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F656
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F656
Sign uphttps://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/656
Reloadhttps://github.com/sqlc-dev/sqlc/pull/656
Reloadhttps://github.com/sqlc-dev/sqlc/pull/656
sqlc-devhttps://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Codehttps://github.com/sqlc-dev/sqlc
Issues600 (600)https://github.com/sqlc-dev/sqlc/issues
Pull requests132 (132)https://github.com/sqlc-dev/sqlc/pulls
Discussionshttps://github.com/sqlc-dev/sqlc/discussions
Actionshttps://github.com/sqlc-dev/sqlc/actions
Projectshttps://github.com/sqlc-dev/sqlc/projects
Security and qualityhttps://github.com/sqlc-dev/sqlc/security
Insightshttps://github.com/sqlc-dev/sqlc/insights
https://github.com/sqlc-dev/sqlc
kyleconroyhttps://github.com/kyleconroy
sqlc-dev:masterhttps://github.com/sqlc-dev/sqlc/tree/master
alecbz:alec/emit-db-tagshttps://github.com/alecbz/sqlc/tree/alec/emit-db-tags
Conversationhttps://github.com/sqlc-dev/sqlc/pull/656
Commits1 (1)https://github.com/sqlc-dev/sqlc/pull/656/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/656/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/656/files
Add an emit_db_tags config option to support interoperability with gorphttps://github.com/sqlc-dev/sqlc/pull/656#top
kyleconroyhttps://github.com/kyleconroy
sqlc-dev:masterhttps://github.com/sqlc-dev/sqlc/tree/master
alecbz:alec/emit-db-tagshttps://github.com/alecbz/sqlc/tree/alec/emit-db-tags
https://github.com/alecbz
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#issue-674506418
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
gorphttps://github.com/go-gorp/gorp
#364https://github.com/sqlc-dev/sqlc/discussions/364
https://reviewable.io/reviews/kyleconroy/sqlc/656
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
https://github.com/alecbz
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#event-3630273598
https://github.com/alecbz
alecbzhttps://github.com/alecbz
force-pushedhttps://github.com/sqlc-dev/sqlc/compare/e8cff86041994a08d47091df854fb20cc5ed1afc..d49094919f8cc287dfe0c6a3e59c82e1fdeeeff0
e8cff86https://github.com/sqlc-dev/sqlc/commit/e8cff86041994a08d47091df854fb20cc5ed1afc
d490949https://github.com/sqlc-dev/sqlc/commit/d49094919f8cc287dfe0c6a3e59c82e1fdeeeff0
Compare https://github.com/sqlc-dev/sqlc/compare/e8cff86041994a08d47091df854fb20cc5ed1afc..d49094919f8cc287dfe0c6a3e59c82e1fdeeeff0
August 6, 2020 18:12https://github.com/sqlc-dev/sqlc/pull/656#event-3630277776
https://github.com/alecbz
alecbzhttps://github.com/alecbz
Aug 6, 2020 https://github.com/sqlc-dev/sqlc/pull/656#pullrequestreview-462763680
View reviewed changes https://github.com/sqlc-dev/sqlc/pull/656/files
internal/codegen/golang/result.gohttps://github.com/sqlc-dev/sqlc/pull/656/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466597923
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kyleconroyhttps://github.com/kyleconroy
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466645394
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
https://github.com/alecbz
alecbzhttps://github.com/alecbz
force-pushedhttps://github.com/sqlc-dev/sqlc/compare/d49094919f8cc287dfe0c6a3e59c82e1fdeeeff0..0b9495755e031ec83e2539d7578d6598d34b17d7
d490949https://github.com/sqlc-dev/sqlc/commit/d49094919f8cc287dfe0c6a3e59c82e1fdeeeff0
0b94957https://github.com/sqlc-dev/sqlc/commit/0b9495755e031ec83e2539d7578d6598d34b17d7
Compare https://github.com/sqlc-dev/sqlc/compare/d49094919f8cc287dfe0c6a3e59c82e1fdeeeff0..0b9495755e031ec83e2539d7578d6598d34b17d7
August 6, 2020 18:14https://github.com/sqlc-dev/sqlc/pull/656#event-3630284565
https://github.com/alecbz
Add a emit_db_tags config optionhttps://github.com/sqlc-dev/sqlc/pull/656/commits/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
ecb6d57https://github.com/sqlc-dev/sqlc/pull/656/commits/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
https://github.com/alecbz
alecbzhttps://github.com/alecbz
force-pushedhttps://github.com/sqlc-dev/sqlc/compare/0b9495755e031ec83e2539d7578d6598d34b17d7..ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
0b94957https://github.com/sqlc-dev/sqlc/commit/0b9495755e031ec83e2539d7578d6598d34b17d7
ecb6d57https://github.com/sqlc-dev/sqlc/commit/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
Compare https://github.com/sqlc-dev/sqlc/compare/0b9495755e031ec83e2539d7578d6598d34b17d7..ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
August 6, 2020 18:24https://github.com/sqlc-dev/sqlc/pull/656#event-3630318750
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020 https://github.com/sqlc-dev/sqlc/pull/656#pullrequestreview-462812088
View reviewed changes https://github.com/sqlc-dev/sqlc/pull/656/files/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
kyleconroyhttps://github.com/kyleconroy
https://github.com/sqlc-dev/sqlc/pull/656#pullrequestreview-462812088
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#364https://github.com/sqlc-dev/sqlc/discussions/364
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
internal/config/config.gohttps://github.com/sqlc-dev/sqlc/pull/656/files/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466635788
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sqlxhttps://github.com/jmoiron/sqlx#usage
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466643857
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466645832
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
internal/endtoend/testdata/emit_db_tags/go/models.gohttps://github.com/sqlc-dev/sqlc/pull/656/files/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb#diff-eb1d89981f0c4df5a2297976f709cf04751733c681504d7e9bef24708d90107a
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466636795
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466644238
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466647443
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
quickstarthttps://github.com/go-gorp/gorp#quickstart
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466649925
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466652603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
alecbzhttps://github.com/alecbz
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466655711
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#discussion_r466687308
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020 https://github.com/sqlc-dev/sqlc/pull/656#pullrequestreview-462878293
View reviewed changes https://github.com/sqlc-dev/sqlc/pull/656/files/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
21a6cdahttps://github.com/sqlc-dev/sqlc/commit/21a6cda2667d18cee40b6847a8558d2961f5d771
Aug 6, 2020https://github.com/sqlc-dev/sqlc/pull/656#event-3630847922
https://github.com/kyleconroy
kyleconroyhttps://github.com/kyleconroy
Aug 6, 2020 https://github.com/sqlc-dev/sqlc/pull/656#ref-issue-674605696
Emit ORM-specific database tags #658 https://github.com/sqlc-dev/sqlc/issues/658
https://github.com/alecbz
alecbzhttps://github.com/alecbz
August 7, 2020 13:38https://github.com/sqlc-dev/sqlc/pull/656#event-3633287932
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%2F656
https://github.com/kyleconroy
kyleconroy https://github.com/kyleconroy
https://github.com/sqlc-dev/sqlc/pull/656/files/ecb6d577a6b7db29a12230de8a0d8c4d44da0fcb
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/656
https://github.com/alecbz
https://github.com/kyleconroy
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.