Title: Document sqlc behavior for queries with JOINs · Issue #643 · sqlc-dev/sqlc · GitHub
Open Graph Title: Document sqlc behavior for queries with JOINs · Issue #643 · sqlc-dev/sqlc
X Title: Document sqlc behavior for queries with JOINs · Issue #643 · sqlc-dev/sqlc
Description: Hi. Thanks for a great project. The idea is really promising and fresh for the Go ecosystem! One thing wasn't clear for me from the existing documentation and examples: How sqlc handles relations and complex queries with JOINs, does it s...
Open Graph Description: Hi. Thanks for a great project. The idea is really promising and fresh for the Go ecosystem! One thing wasn't clear for me from the existing documentation and examples: How sqlc handles relations a...
X Description: Hi. Thanks for a great project. The idea is really promising and fresh for the Go ecosystem! One thing wasn't clear for me from the existing documentation and examples: How sqlc handles relatio...
Opengraph URL: https://github.com/sqlc-dev/sqlc/issues/643
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document sqlc behavior for queries with JOINs ","articleBody":"Hi. Thanks for a great project. The idea is really promising and fresh for the Go ecosystem!\r\n\r\nOne thing wasn't clear for me from the existing documentation and examples:\r\nHow sqlc handles relations and complex queries with JOINs, does it still uses flat structures for the output or it somehow reuses and embeds structs that represent a single table. \r\n\r\nAfter going through existing issues I found out that sqlc goes with the simplest approach and generates a flat structure for every query even a complex one with a JOIN.\r\n\r\nI think you should explicitly document it or add an example with a JOIN, because maybe not only me was looking for something like that.\r\n","author":{"url":"https://github.com/georgysavva","@type":"Person","name":"georgysavva"},"datePublished":"2020-07-31T12:01:32Z","url":"https://github.com/sqlc-dev/sqlc/issues/643"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0240f682-e3fb-8c32-e103-c848d3548cc6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B254:A71F9:172EB48:1D355EF:6B0174AC |
| html-safe-nonce | 7c22a0c72d802d7c883e3c183af4b4ff94c824523de7bc0abd560d43dec409fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjU0OkE3MUY5OjE3MkVCNDg6MUQzNTVFRjo2QjAxNzRBQyIsInZpc2l0b3JfaWQiOiIyNTQ5ODAyOTk4ODcyMjQxMzI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 032b3e23b3016ebfe9d8b878f4265ade4ad5dea71f2f3025f20b75ccf9cffa9d |
| hovercard-subject-tag | issue:669744009 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlc-dev/sqlc/643/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ab9276c9cb10c79333dea1d22d1cd70aabfbb21bb43b459528ab8f077ac3fe5/sqlc-dev/sqlc/issues/643 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ab9276c9cb10c79333dea1d22d1cd70aabfbb21bb43b459528ab8f077ac3fe5/sqlc-dev/sqlc/issues/643 |
| og:image:alt | Hi. Thanks for a great project. The idea is really promising and fresh for the Go ecosystem! One thing wasn't clear for me from the existing documentation and examples: How sqlc handles relations a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | georgysavva |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| 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 | issues |
Links:
Viewport: width=device-width