Congrats! It looks like you hit the same problems that I do with Ecto (which would be solved by named tables).
I have a very bad but workable solution (that no one posted a better one) at: Ecto Query Patterns - Named joins ^.^;
Congrats! It looks like you hit the same problems that I do with Ecto (which would be solved by named tables).
I have a very bad but workable solution (that no one posted a better one) at: Ecto Query Patterns - Named joins ^.^;