Skip to main content

PageInfo

The PageInfo type contains information about the current page.

type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
totalCount: 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.startCursor ● String scalar

When paginating backwards, the cursor to continue.

PageInfo.endCursor ● String scalar

When paginating forwards, the cursor to continue.

PageInfo.totalCount ● Int! non-null scalar

The total number of items in the connection.

Member Of

Connection interface ● ConsumptionCostOverviewConnection object ● ContractConnection object ● InvoiceConnection object