Skip to main content
Deno.KvListSelector - Deno documentation
type alias Deno.KvListSelector
Unstable

A selector that selects the range of data returned by a list operation on a Deno.Kv.

The selector can either be a prefix selector or a range selector. A prefix selector selects all keys that start with the given prefix (optionally starting at a given key). A range selector selects all keys that are lexicographically between the given start and end keys.

Definition

{ prefix: KvKey; }
| { prefix: KvKey; start: KvKey; }
| { prefix: KvKey; end: KvKey; }
| { start: KvKey; end: KvKey; }