PageInfo
The PageInfo
type provides pagination info for lists.
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: Cursor
endCursor: Cursor
}
Fields
hasNextPage
(Boolean
)
hasNextPage
wether 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.