Skip to main content

@rtorcato/db-common / CursorInput

Interface: CursorInput

Defined in: cursor.ts:4

Properties

size

size: number

Defined in: cursor.ts:6

Rows per page.


column

column: string

Defined in: cursor.ts:8

The column to keyset on. Must be unique-ish and match the sort.


dir?

optional dir?: Direction

Defined in: cursor.ts:10

Sort direction. Defaults to ascending.


after?

optional after?: string

Defined in: cursor.ts:12

Encoded cursor from a previous page; omit for the first page.