Skip to main content
Version: V2

PageInfo

The PageInfo type provides pagination info for lists.

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

Fields​

hasNextPage (Boolean)​

hasNextPage whether there are results in the connection after the current page.

hasPreviousPage (Boolean)​

hasPreviousPage whether there are results in the connection before the current page..

startCursor (Cursor)​

startCursor the cursor of the first item in the current page.

endCursor (Cursor)​

endCursor the cursor of the last item in the current page.

Designed by