Skip to main content

PageInfo

Information about pagination in a connection.

type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: Cursor
endCursor: Cursor
}

Fields

hasNextPage ● Boolean! non-null scalar

When paginating forwards, are there more items?

hasPreviousPage ● Boolean! non-null scalar

When paginating backwards, are there more items?

startCursor ● Cursor scalar

When paginating backwards, the cursor to continue.

endCursor ● Cursor scalar

When paginating forwards, the cursor to continue.