PageEdge
An edge in a connection to a Page.
Connection Structure
{
node {
# Page fields
}
cursor
}Edge Type
A PageEdge represents a single item in a paginated connection to pages. It contains two primary fields:
- node (Page, optional): The actual Page object at this position in the connection
- cursor (String, required): An opaque string cursor that marks this position and can be used for pagination in subsequent queries
The cursor value is automatically generated by the API and should be treated as an opaque identifier for pagination purposes. When requesting the next or previous set of results, pass the cursor values from the edges as the after or before arguments.
Example
query {
pages(first: 10) {
edges {
node {
id
title
handle
}
cursor
}
pageInfo {
hasNextPage
endCursor
}
}
}Related Types
- Page
- String