You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently the union_relations macro uses the provided where clause for all relations passed to it. In some cases, this approach is not ideal. Support for specific where clauses for each relation would allow for more flexibility in the way the macro can be deployed
Describe alternatives you've considered
CTEs would be an alternative but union_relations only takes models as inputs
Who will this benefit?
An example use case: Supports unioning differing periods together