# PageInfo Information about pagination in a connection. ## Type Definition ```graphql type PageInfo { hasNextPage: Boolean! hasPreviousPage: Boolean! startCursor: String endCursor: String } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | hasNextPage | Boolean! | Indicates if there are more pages to fetch. | | hasPreviousPage | Boolean! | Indicates if there are previous pages to go back to. | | startCursor | String | The cursor corresponding to the first node in the edges list. | | endCursor | String | The cursor corresponding to the last node in the edges list. | ## Relationships PageInfo is used to provide pagination metadata for connection types in the API. It is returned as part of connection objects to enable cursor-based pagination, allowing clients to navigate through paginated result sets efficiently. ## Example ```graphql query { products(first: 10) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } } } ``` ## Implements This type does not implement any interfaces. ## Related Types - Boolean