fetchQuery
Fetch data from Airstack by calling queries to the Airstack API. If you need any pagination, use fetchQueryWithPagination instead.
Pre-requisites
Calling
init
function
Example
Function Signature
Params
Param
Type
Default Value
Description
query
string
-
variables
null
GraphQL query variables
config
{ cache?: boolean }
null
Caching configuration
Responses
Param
Type
Default Value
Description
response
null
Response object from GraphQL query
.
Last updated