René's URL Explorer Experiment


Title: feat: add `sqlc.embed` to allow model re-use by nickjackson · Pull Request #1615 · sqlc-dev/sqlc · GitHub

Open Graph Title: feat: add `sqlc.embed` to allow model re-use by nickjackson · Pull Request #1615 · sqlc-dev/sqlc

X Title: feat: add `sqlc.embed` to allow model re-use by nickjackson · Pull Request #1615 · 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: Intro This PR allows sqlc.embed to be used in a query. This is based on the discussion at #984. You can now write a query like -- name: WithSubquery :many SELECT sqlc.embed(users), (SELECT count(*)...

X Description: Intro This PR allows sqlc.embed to be used in a query. This is based on the discussion at #984. You can now write a query like -- name: WithSubquery :many SELECT sqlc.embed(users), (SELECT count(*)...

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

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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:72b19cd3-4d77-9580-24b4-511d7d11e6f6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81F2:2C4BED:232B6A3:2CAA685:6B01803E
html-safe-noncecb8c42f0de04f9dd61028266828b8eb442e40b13c0bee6d2b85bde5fe42596e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUYyOjJDNEJFRDoyMzJCNkEzOjJDQUE2ODU6NkIwMTgwM0UiLCJ2aXNpdG9yX2lkIjoiNDY4MzU3MjAxMzEzNzIzMTkzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca0243bb87a29885a4559ab2985b08487bd270da28b20ad59a9f2c53a114023c7
hovercard-subject-tagpull_request:934050515
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/1615/commits
twitter:imagehttps://opengraph.githubassets.com/49854455ee8b4fd46545380d3f54900d81631359567a31d092fce6baca0a8964/sqlc-dev/sqlc/pull/1615
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/49854455ee8b4fd46545380d3f54900d81631359567a31d092fce6baca0a8964/sqlc-dev/sqlc/pull/1615
og:image:altIntro This PR allows sqlc.embed to be used in a query. This is based on the discussion at #984. You can now write a query like -- name: WithSubquery :many SELECT sqlc.embed(users), (SELECT count(*)...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenickjackson
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/1615/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F1615%2Fcommits
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%2F1615%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/pull/1615/commits
Reloadhttps://github.com/sqlc-dev/sqlc/pull/1615/commits
Reloadhttps://github.com/sqlc-dev/sqlc/pull/1615/commits
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:mainhttps://github.com/sqlc-dev/sqlc/tree/main
nickjackson:feature/sqlc-embedhttps://github.com/nickjackson/sqlc/tree/feature/sqlc-embed
Conversationhttps://github.com/sqlc-dev/sqlc/pull/1615
Commits5 (5)https://github.com/sqlc-dev/sqlc/pull/1615/commits
Checkshttps://github.com/sqlc-dev/sqlc/pull/1615/checks
Files changedhttps://github.com/sqlc-dev/sqlc/pull/1615/files
feat: add sqlc.embed to allow model re-usehttps://github.com/sqlc-dev/sqlc/pull/1615/commits#top
kyleconroyhttps://github.com/kyleconroy
sqlc-dev:mainhttps://github.com/sqlc-dev/sqlc/tree/main
nickjackson:feature/sqlc-embedhttps://github.com/nickjackson/sqlc/tree/feature/sqlc-embed
add sqlc.embedhttps://github.com/sqlc-dev/sqlc/pull/1615/commits/942e4b774f726467bcbe0a63a9e8d9e2544064d7
nickjacksonhttps://github.com/sqlc-dev/sqlc/commits?author=nickjackson
kyleconroyhttps://github.com/sqlc-dev/sqlc/commits?author=kyleconroy
942e4b7https://github.com/sqlc-dev/sqlc/pull/1615/commits/942e4b774f726467bcbe0a63a9e8d9e2544064d7
https://github.com/sqlc-dev/sqlc/tree/942e4b774f726467bcbe0a63a9e8d9e2544064d7
only allow alias or table name in sqlc.embed()https://github.com/sqlc-dev/sqlc/pull/1615/commits/d5a373f40ea0c53c172b01011e90e3b53ff60d7a
nickjacksonhttps://github.com/sqlc-dev/sqlc/commits?author=nickjackson
kyleconroyhttps://github.com/sqlc-dev/sqlc/commits?author=kyleconroy
d5a373fhttps://github.com/sqlc-dev/sqlc/pull/1615/commits/d5a373f40ea0c53c172b01011e90e3b53ff60d7a
https://github.com/sqlc-dev/sqlc/tree/d5a373f40ea0c53c172b01011e90e3b53ff60d7a
add testshttps://github.com/sqlc-dev/sqlc/pull/1615/commits/a83478213617945ede940f6015514db1ce10bedd
nickjacksonhttps://github.com/sqlc-dev/sqlc/commits?author=nickjackson
kyleconroyhttps://github.com/sqlc-dev/sqlc/commits?author=kyleconroy
a834782https://github.com/sqlc-dev/sqlc/pull/1615/commits/a83478213617945ede940f6015514db1ce10bedd
https://github.com/sqlc-dev/sqlc/tree/a83478213617945ede940f6015514db1ce10bedd
regenerate other testshttps://github.com/sqlc-dev/sqlc/pull/1615/commits/6bcbcbf04a3d34f43bee4563aef52f312d798787
https://github.com/kyleconroy
kyleconroyhttps://github.com/sqlc-dev/sqlc/commits?author=kyleconroy
6bcbcbfhttps://github.com/sqlc-dev/sqlc/pull/1615/commits/6bcbcbf04a3d34f43bee4563aef52f312d798787
https://github.com/sqlc-dev/sqlc/tree/6bcbcbf04a3d34f43bee4563aef52f312d798787
Fix codegen.json testshttps://github.com/sqlc-dev/sqlc/pull/1615/commits/6af060878c4de1bf775f6e812210e79aec607abd
https://github.com/kyleconroy
kyleconroyhttps://github.com/sqlc-dev/sqlc/commits?author=kyleconroy
6af0608https://github.com/sqlc-dev/sqlc/pull/1615/commits/6af060878c4de1bf775f6e812210e79aec607abd
https://github.com/sqlc-dev/sqlc/tree/6af060878c4de1bf775f6e812210e79aec607abd
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.