Let's say I have 3 schemas: Tag, Post, User.
There's a many to many relationship between Post and Tag with a join table, and a many to many relationship between Post and User with a join table.
I want to select posts that belong to a given tag and a given user.
user_posts_query = user |> assoc(:posts)
tag_posts_query = tag |> assoc(:posts)
Is there any way I can combine those two query objects and when using Repo.all() get only the overlapping results from each?