Interface: ServableResourcefulIndexResult<ReturnType>
Extends
Omit<ResourcefulIndexResult<ReturnType>,"countQuery"|"recordsQuery">
Type Parameters
| Type Parameter | Default type |
|---|---|
ReturnType | any |
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
aggregations | ResourcefulIndexAggregateResults | Aggregation results organized by field name and operation type | ResourcefulIndexResult.aggregations |
page | number | The current page number (1-based) | ResourcefulIndexResult.page |
perPage | number | Number of records per page | ResourcefulIndexResult.perPage |
records | Partial<ReturnType>[] | Array of records with only the requested and accessible fields | Omit.records |
total | number | Total number of records matching the filter (before pagination) | ResourcefulIndexResult.total |