Interface: Pagination
Defined in: packages/overcast-core/src/storage/index.ts:36
Cursor / offset pagination. Prefer the opaque cursor (keyset pagination):
it is stable while new rows are inserted and stays fast on large tables.
offset is offered only as a convenience for simple, shallow UI paging.
Properties
cursor?
optional cursor?: string;
Defined in: packages/overcast-core/src/storage/index.ts:40
Opaque cursor from a previous page's Page.nextCursor.
limit?
optional limit?: number;
Defined in: packages/overcast-core/src/storage/index.ts:38
Max items to return. Implementations clamp to a sane ceiling.
offset?
optional offset?: number;
Defined in: packages/overcast-core/src/storage/index.ts:42
Zero-based offset. Mutually exclusive with cursor.