Complex GraphQL query filter expressions
Use logical operators AND and OR to combine two simple or complex filters into a new, complex one.
A complex filter expression consists of two (simple or complex) filter expression being joined by an AND or an OR operator:
- Complex AND expression
-
To create a complex AND expression, define a filter expression as
and: { F1, F2}, where both F1 and F2 are other filter expressions. This results in the query being executed with both filters applied. - Complex OR expression
-
To create a complex OR expression, define a filter expression as
or: { F1, F2}, where both F1 and F2 are other filter expressions. This results in the query being executed with either filter (or both) applied.