Advanced query filters: support for AND and OR operators
We're excited to announce a major update to our platform! We've added support for GraphQL queries with Boolean filters, which will give users the ability to apply AND and OR operators across filters, including nesting. Check out our docs for more info and examples!
Ex: "items that have 'shirt' and 'cotton' in the name, OR items that are of type 'top' and season 'summer'"
itemsQuery(filter: {
or: [
{ and: [{ name: { like: "%shirt%" } }, { name: { like: "%cotton%" } }] },
{ and: [{ item_type: { eq: "top" } }, { season: { eq: "summer" } }] }
]
} ) { ... }