PaginationInput class
Where a page starts and how big it is.
Signature:
export declare class PaginationInput
Remarks
Turned into Sequelize's offset/limit by query.toLimitOptions, which treats this input as advisory rather than authoritative — see the notes on each property. A negative limit is the interesting case: it means "the last N rows", and it is the only reason count exists.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
number |
(Optional) Total rows in the set, used only to place a negative | ||
|
number |
Rows in the page. Negative counts back from the end of the set. | ||
|
number |
Rows to skip before the page starts. |