A JSON object. We allow undefined values because in TypeScript there is no
way to express optional missing properties vs properties with the value
undefined
.
The values that can be represented in JSON
If the options contains an indexName
then the key type is a tuple of
secondary and primary.
Do a scan over a named index. The indexName
is the name of an index previously created with createIndex.
Only include up to limit
results.
Only include results starting with the secondary keys starting with prefix
.
When provided the scan starts at this key.
Whether the key
is exclusive or inclusive.
Only include up to limit
results.
Only include keys starting with prefix
.
When provided the scan starts at this key.
Whether the key
is exclusive or inclusive.
The key to start scanning at.
If you are scanning the primary index (i.e., you did not specify
indexName
), then pass a single string for this field, which is the key in
the primary index to scan at.
If you are scanning a secondary index (i.e., you specified indexName
), then
use the tuple form. In that case, secondary
is the secondary key to start
scanning at, and primary
(if any) is the primary key to start scanning at.
Generated using TypeDoc
This type is used for the ReplicacheOptions.wasmModule property.