fetchQueryWithPagination
Fetch data from Airstack by calling queries to the Airstack API with pagination included. If you don't need pagination, use fetchQuery instead.
Pre-requisites
Calling
init
function
Example
Function Signature
Params
Param
Type
Default Value
Description
query
string
-
Airstack GraphQL query
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
Was this helpful?