Ecto `union`

I’m still not able to find any mention of union in the Ecto docs, how do people perform a SQL UNION in Ecto currently?

1 Like

custom queries?

1 Like

I already know about custom queries, but I really hate losing the type safety that ecto affords, was wondering if there was a type-safe method. :wink:

1 Like

yep I’ve then seen your ticket

someone might share the current state of things there but there seem to be no other way at the moment