MemoryKeyset
Defined in: filters/memory.ts:755
The keyset helper returned by createMemoryKeyset.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Row |
any |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
compare |
(direction?) => RowComparator<Row> |
The row comparator for a fetch direction ("backward" is the exact reverse). |
filters/memory.ts:759 |
fromItem |
(row) => Record<string, unknown> |
The cursor data for a row ({ key: value } for every key, a missing value as null). |
filters/memory.ts:766 |
keys |
() => string[] |
Logical cursor keys, in sort order. | filters/memory.ts:757 |
where |
(cursor, direction?) => | FilterPredicate<Row> | undefined |
The seek predicate after (or before) a decoded cursor; undefined for a null cursor. |
filters/memory.ts:761 |