LimitOffsetPaginator
Sourceimport { LimitOffsetPaginator } from "@prestojs/util";
Hierarchy
- Paginator<,>
- LimitOffsetPaginator
Constructor
Methods
Returns:void
Returns:
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
Returns:
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| body | null|BodyInit | ||
| cache | RequestCache | ||
| credentials | RequestCredentials | ||
| headers | HeadersInit|Record | ||
| integrity | string | ||
| keepalive | boolean | ||
| method | string | ||
| mode | RequestMode | ||
| query | Record | ||
| redirect | RequestRedirect | ||
| referrer | string | ||
| referrerPolicy | ReferrerPolicy | ||
| signal | null|AbortSignal | ||
| urlArgs | Record | ||
| window | null | ||
Returns:boolean
Returns:boolean
Returns:void
Returns:null|
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
Returns:
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
Returns:void
Returns:null|
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
Returns:
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
Returns:void
Returns:null|
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
Returns:void
Properties
currentState
Source| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| limit | number|string | ||
| offset | number|string | ||
internalState
Source| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| responseIsSet | boolean | ||
| total | number|null | ||
Static Methods
Arguments:
| Argument | Type | Description | |
|---|---|---|---|
| * | requestDetails An object with the properties below | ||
| requestDetails.decodedBody | any | ||
| requestDetails.query | Record | ||
| requestDetails.response | Response | ||
| * | requestDetails.url | string | |
| requestDetails.urlArgs | Record | ||
Returns:false|Record