Examples of GraphQL operations: Queries with filters and counts
Less than to read
Filtering syntaxes can have various forms and use several operators, such as _eq, _ne, _lt, _gt, or _in. The string constants are placed between single brackets.
The following pages describe different cases of GraphQL queries using filters and counts. The queries use real examples.
Here are some examples of filters:
Simple value equality |
|
Comparison operators (less than) |
|
Combined filters (and) |
|
Filter on nested properties (not equal) |
|
Combined filters (or) |
|
List of values |
|
Regular expression |
|
Minimum number of lines in a secondary level |
|
Minimum count on condition |
|
Not on condition |
|