Skip to main content

ModelPage

Pagination data for models.

type ModelPage implements PageData {
items: [Model!]!
totalPages: Int!
hasNextPage: Boolean!
}

Fields

ModelPage.items ● [Model!]! non-null object

Array of Models. Number of items depends on the 'limit' and 'page' parameters.

ModelPage.totalPages ● Int! non-null scalar

Total number of pages.

ModelPage.hasNextPage ● Boolean! non-null scalar

Flag that indicates if there are more pages.

Interfaces

PageData interface

Returned By

models query