Skip to main content

PageInfo

Information about pagination in a connection.

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

Fields

PageInfo.hasNextPage ● Boolean! non-null scalar

When paginating forwards, are there more items?

PageInfo.hasPreviousPage ● Boolean! non-null scalar

When paginating backwards, are there more items?

PageInfo.startCursor ● Cursor scalar

When paginating backwards, the cursor to continue.

PageInfo.endCursor ● Cursor scalar

When paginating forwards, the cursor to continue.