Is this query possible in Ecto?

Yes, it’s easy if you can build it in one query generation pass. But what if you need to composite query? Like in the situation I described here.

1 Like