Pagination
query {
orders(first: 10) {
pageInfo { # Returns details about the current page of results
hasNextPage # Whether there are more results after this page
endCursor # A marker for the last result in this page
}
nodes {
name # The fields to be returned for each node
}
}
}Great resources for learning GraphQL pagination
Key concepts to read up on
Last updated
Was this helpful?