DrizzleKeyset
Defined in: filters/drizzle/pagination.ts:52
The keyset helper returned by createDrizzleKeyset.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
keys |
() => string[] |
Logical cursor keys, in sort order — use to build cursor.fromItem. |
filters/drizzle/pagination.ts:54 |
orderBy |
(direction?) => SQL<unknown>[] |
orderBy(...) SQL for a fetch direction (backward flips, paginator restores). |
filters/drizzle/pagination.ts:56 |
where |
(cursor, direction?) => SQL<unknown> | undefined |
Lexicographic seek WHERE for a decoded cursor (null cursor → first page). |
filters/drizzle/pagination.ts:58 |