Interface DenoKVMapRangeQueryOptions<K>

Range query options for a DenoKVMap

interface DenoKVMapRangeQueryOptions {
    batchSize?: number;
    consistency?: KvConsistencyLevel;
    limit?: number;
    lower?: K;
    lowerOpen?: boolean;
    reverse?: boolean;
    signal?: AbortSignal;
    upper?: K;
    upperOpen?: boolean;
}

Type Parameters

  • K

Hierarchy

Properties

batchSize?: number

The size of the batches in which the query operation is performed.

consistency?: KvConsistencyLevel

Consistency level for get operations.

limit?: number

Maximum number of results to return.

lower?: K

Lower bound of the range.

lowerOpen?: boolean

Whether the lower bound is open. Defaults to false.

reverse?: boolean

Iterates in reverse order.

signal?: AbortSignal

An optional AbortSignal that can be used to abort an async task.

upper?: K

Upper bound of the range.

upperOpen?: boolean

Whether the upper bound is open. Defaults to true.

Generated using TypeDoc