Many to many query #1024
Answered
by
aarondl
LogicalChaos
asked this question in
Q&A
Many to many query
#1024
-
I'm having no luck trying to figure out how to query two tables with a many to many relationship. Take the Video <-> Tag examples with a tag_id/video_id join table. I would like to use SQLBoiler to find all videos with tags romantic AND comedy. |
Beta Was this translation helpful? Give feedback.
Answered by
aarondl
Nov 14, 2021
Replies: 1 comment 1 reply
-
In these cases sqlboiler isn't going to help too much. Generally I'd recommend you simply use a custom query & |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LogicalChaos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In these cases sqlboiler isn't going to help too much. Generally I'd recommend you simply use a custom query &
queries.Bind
to bind the result back into a slice of videos.