Skip to content
Console(opens in a new tab)

PageInfo

The Relay compliant `PageInfo` type, containing data necessary to paginate this connection.

Selection. This type is a selection. An intent returns it, and you choose which of its fields come back.

The Relay compliant PageInfo type, containing data necessary to paginate this connection.

No connection leads here from a primary entity.

Field Type Description
hasNextPage Boolean! When paginating forwards, are there more items?
hasPreviousPage Boolean! When paginating backwards, are there more items?
startCursor String When paginating backwards, the cursor to continue.
endCursor String When paginating forwards, the cursor to continue.
query {
search(searchInput: {
entityType: BRAND
name: "Safeway"
conditions: { limit: 1 }
}) {
... on Brand {
names(first: 1) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }
}
}
}

Response, as returned:

{
"data": {
"search": [
{
"names": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "eyJpZHgiOjB9",
"endCursor": "eyJpZHgiOjB9"
}
}
}
]
}
}