Hubert Krauze
Hubert Krauze
Thanks, this is great!
The other approach to this issue is to use `sqlc.embed` param as the name (same pattern as sqlc.arg). Example ```sql -- name: GetProjectDetails :one SELECT p.*, sqlc.embed(manager), sqlc.embed(client), sqlc.embed(vendor) FROM...
The coalesce doesn't work when column uses custom go type, like in this example: ```yaml - column: "user.timezone" go_type: "github.com/org/myrepo/postgres/postgrestype.Timezone" - column: "user.timezone" go_type: import: "github.com/org/myrepo/postgres/postgrestype" type: "Timezone" pointer: true...