What is the proper way for a Moralis Query to use OR Operator?

Im wondering how to query with an OR operator using Moralis Queries. I can not find any example that queries like this example

Find * WHERE propertyX = value OR propertyY = value

Is this possible with Moralis Queries or does one have to use aggregations?

This should be helpful https://docs.moralis.io/moralis-server/database/queries#or-ed-query-constraints

1 Like