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 |
---|---|---|---|
|
| Airstack GraphQL query | |
|
| GraphQL query variables |
Responses
Param | Type | Default Value | Description |
---|---|---|---|
|
| Response data from GraphQL | |
|
| Error logs from GraphQL query if API call failed. | |
|
| false | Indicate if there is any following page. |
|
| false | |
|
| Function to get data in the next page. | |
|
| Function to get data in the previous page. |
Last updated
Was this helpful?