Skip to content

PostgrestKeyset

Defined in: filters/postgrest.ts:631

The keyset helper returned by createPostgrestKeyset.

Property Type Description Defined in
keys () => string[] Logical cursor keys, in sort order — use to build cursor.fromItem. filters/postgrest.ts:633
orderBy (direction?) => PostgrestOrderTerm[] Order terms for a fetch direction (backward flips, the paginator restores). filters/postgrest.ts:635
where (cursor, direction?) => PostgrestParams Lexicographic seek params for a decoded cursor ([] for a null cursor: first page). filters/postgrest.ts:637