Skip to main content

SimplePaginatorInfo

Information about pagination using a simple paginator.

type SimplePaginatorInfo {
count: Int!
currentPage: Int!
firstItem: Int
lastItem: Int
perPage: Int!
hasMorePages: Boolean!
}

Fields

SimplePaginatorInfo.count ● Int! non-null scalar

Number of items in the current page.

SimplePaginatorInfo.currentPage ● Int! non-null scalar

Index of the current page.

SimplePaginatorInfo.firstItem ● Int scalar

Index of the first item in the current page.

SimplePaginatorInfo.lastItem ● Int scalar

Index of the last item in the current page.

SimplePaginatorInfo.perPage ● Int! non-null scalar

Number of items per page.

SimplePaginatorInfo.hasMorePages ● Boolean! non-null scalar

Are there more pages after this one?