Skip to main content

PaginatorInfo

Information about pagination using a fully featured paginator.

type PaginatorInfo {
count: Int!
currentPage: Int!
firstItem: Int
hasMorePages: Boolean!
lastItem: Int
lastPage: Int!
perPage: Int!
total: Int!
}

Fields

PaginatorInfo.count ● Int! non-null scalar

Number of items in the current page.

PaginatorInfo.currentPage ● Int! non-null scalar

Index of the current page.

PaginatorInfo.firstItem ● Int scalar

Index of the first item in the current page.

PaginatorInfo.hasMorePages ● Boolean! non-null scalar

Are there more pages after this one?

PaginatorInfo.lastItem ● Int scalar

Index of the last item in the current page.

PaginatorInfo.lastPage ● Int! non-null scalar

Index of the last available page.

PaginatorInfo.perPage ● Int! non-null scalar

Number of items per page.

PaginatorInfo.total ● Int! non-null scalar

Number of total available items.