Skip to content

PaginateParams

PaginateParams = CursorParams | OffsetParams

Defined in: packages/db/src/types.ts:262

Union of cursor and offset pagination parameters.

Use the type discriminant to determine which pagination strategy is in use. Accepted by db.query(table).paginate().