đWorking with GraphQL
Learn all the available comparison operators for filtering out the desired API results.
Comparison Operators
Airstack GraphQL has the following comparison operators which are used to filter data in queries based on specified conditions. They are shorthand for various comparison operators:
Operators | Represents | Description |
---|---|---|
| Equals | Fetch data that has equal value to the provided input on the specified filter input. |
| Greater Than | Fetch data that has value greater than the provided input on the specified filter input. |
| Greater Than or Equal | Fetch data that has value greater than or equal to the provided input on the specified filter input. |
| Less Than | Fetch data that has value less than the provided input on the specified filter input. |
| Less Than Equal | Fetch data that has value less than the provided input on the specified filter input. |
| Not Equal | Fetch data that does not have equal value to the provided input on the specified filter input. |
| In | Fetch data that has value matched to one of the element in the provided array input on the specified filter input.
Currently, |
| Not In | Fetch data that does not have value matched to one of the element in the provided array input on the specified filter input.
Currently, |
| Regex Search | Fetch data that has value matched to provided regex pattern input on the specified filter input.
Currently only available in |
| Multiple Regex Search | Fetch data that has value matched to one of the provided regex pattern in the array input on the specified filter input.
Currently only available in |
Last updated
Was this helpful?