Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 3.62 KB

working-with-graphql.md

File metadata and controls

24 lines (20 loc) · 3.62 KB
description layout
Learn all the available comparison operators for filtering out the desired API results.
title description tableOfContents outline pagination
visible
true
visible
true
visible
true
visible
visible
true

📏 Working with GraphQL

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:

OperatorsRepresentsDescription
_eqEqualsFetch data that has equal value to the provided input on the specified filter input.
_gtGreater ThanFetch data that has value greater than the provided input on the specified filter input.
_gteGreater Than or EqualFetch data that has value greater than or equal to the provided input on the specified filter input.
_ltLess ThanFetch data that has value less than the provided input on the specified filter input.
_lteLess Than EqualFetch data that has value less than the provided input on the specified filter input.
_neNot EqualFetch data that does not have equal value to the provided input on the specified filter input.
_inInFetch data that has value matched to one of the element in the provided array input on the specified filter input.

Currently, _in operator has a maximum limit of 200 addresses as responses are only limited to 200.
_ninNot InFetch data that does not have value matched to one of the element in the provided array input on the specified filter input.

Currently, _in operator has a maximum limit of 200 addresses as responses are only limited to 200.
_regexRegex Search Fetch data that has value matched to provided regex pattern input on the specified filter input.

Currently only available inSocials API.
_regex_inMultiple Regex SearchFetch 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 Socials API.

Currently, _in operator has a maximum limit of 200 addresses as responses are only limited to 200.