Pagination Object
Description
Pagination metadata for paginated query results.
Declaration
type Pagination {
limit: Int
count: Int
page: Int!
pages: Int!
sort: String
order: Int
hasMore: Boolean
}
Fields
| Name | Type | Description |
|---|---|---|
limit | Int | Number of items per page. |
count | Int | Total number of items across all pages. |
page | Int! | Current page number. |
pages | Int! | Total number of pages. |
sort | String | Field name used for sorting. |
order | Int | Sort order (1 for ascending, -1 for descending). |
hasMore | Boolean | Whether there are more pages available. |