Pagination
Collection queries accept apaging input with two fields:
| Field | Type | Description |
|---|---|---|
skip | Int! | The number of records to skip (offset). |
take | Int! | The number of records to return per page. |
pageInfo object alongside the result items:
| Field | Type | Description |
|---|---|---|
hasNextPage | Boolean! | Whether more records exist after this page. |
hasPreviousPage | Boolean! | Whether records exist before this page. |
Example
Variables
skip by the take value:
pageInfo.hasNextPage is false.
Filtering
Collection queries accept awhere input containing typed filter fields. The available filter fields vary by query. Common filter input types include:
| Filter type | Operators | Description |
|---|---|---|
GuidFilterInput | eq, in | Filter by a single UUID or a list of UUIDs. |
StringFilterInput | eq, in | Filter by exact string match or a list of strings. |
DateRangeFilterInput | gte, lte | Filter by a date range (inclusive). |
EnumFilterInput | eq, in, nin | Filter by enum value, inclusion, or exclusion. |