Skip to main content

PageInfo

Information on Pagination

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

Fields

PageInfo.endCursor ● String scalar

The cursor to use when paginating forwards (using first/after). Will always be populated regardless of if a next page exists.

PageInfo.hasNextPage ● Boolean! non-null scalar

Whether or not using the endCursor will result in more results. Always populated, but will always be false when paginating using last/before.

PageInfo.hasPreviousPage ● Boolean! non-null scalar

Whether or not using the startCursor will result in more results. Always populated, but will always be false when paginating using first/after.

PageInfo.startCursor ● String scalar

The cursor to use when paginating backwards (using last/before). Will always be populated regardless of if a previous page exists

Member of

CustomerAddressConnection object ● ProductContentItemConnection object ● PublicCollectionConnectionWithSearch object ● PublicCollectionTypeContentConnection object ● PublicNavConnection object ● PublicOrderConnectionWithSearch object ● PublicOrderItemConnection object ● PublicOrderTransactionConnection object ● PublicPageConnectionWithSearch object ● PublicPageTypeContentConnection object ● PublicProductConnectionWithSearch object ● PublicTaxonomyBranchConnection object ● PublicVariantConnection object