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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
With
craft\db\Query
we can do something like:and a result something like:
A like-for-like rewrite with element queries doesn't work:
The result is equivalent to calling:
i.e. just returning the
Category
with id$id0
.How can I achieve such a union in a single element query?
Beta Was this translation helpful? Give feedback.
All reactions