But in reality the API tells me InputObject 'ShoeModelFilter' doesn't accept argument 'AND'.
In my use case I have a field on a record which specifies a certain “category”, let’s say the available categories are: Coming Soon, In Stock, Countdown, Sold Out…
I want to query all records, which are not Coming Soonand not In Stock.
So every record that would have Countdown set, or Sold Out set etc.
If I use the OR-operator, obv. this won’t work since a record with Coming Soon would match the neq: "In Stock" filter and vice versa.
However this syntax isn’t working for me - I can’t put another object inside the filter object - Dato complains about the double brackets. Which also makes sense to me. Can someone provide a working example of how multiple OR conditions could be achieved. Simplifying things a bit, I’m looking to implement this kind of logic in my query:
select events where (isOpen = true OR isLive = true) AND (registrationUrl != '' OR registrationId != '')
Thanks @m.finamor . However this doesn’t really cover my situation. I still don’t see a way to have two different OR conditions. In your example, if I wanted to change the artist to be 212 or 215, how could I implement this? I’ve tried to do it as below but the second OR condition overwrites the first one.