Skip to main content

PageInfo

Information about pagination in a connection.

type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
totalPages: Int
nextPageNo: Int
prevPageNo: Int
currPageNo: Int
}

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.totalPages ● Int scalar

PageInfo.nextPageNo ● Int scalar

PageInfo.prevPageNo ● Int scalar

PageInfo.currPageNo ● Int scalar

Member of

PostConnection object ● UserConnection object