Skip to main content

PageInfo

Information about pagination in a connection.

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

Fields

hasNextPage (Boolean!)

When paginating forwards, are there more items?

hasPreviousPage (Boolean!)

When paginating backwards, are there more items?

startCursor (Cursor)

When paginating backwards, the cursor to continue.

endCursor (Cursor)

When paginating forwards, the cursor to continue.