Skip to content

Inner join on one-to-many relation returns data in String instead of []interface{} #2070

Answered by jackc
CRSylar asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure what's going on with your code, but maybe the example in the docs could be helpful: https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgtype#hdr-Child_Records

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CRSylar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants