import { type KvDriver } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";
Methods
get<Value>(key: KvKey): Promise<Value | undefined>
set<Value>(key: KvKey, value: Value): Promise<void>
delete(key: KvKey): Promise<boolean>
Return true
if something was deleted.
list<Value>(selector: { start?: KvKey; end?: KvKey; prefix?: KvKey; }, opts?: { reverse?: boolean; limit?: number; batchSize?: number; }): AsyncIterable<{ key: KvKey; value: Value; }>
Matches an entry whose key is exactly prefix
(unlike Deno.Kv).
limit
must not be zero (like Deno.Kv).
Entries must match both the prefix and be included in the start-end range.
Entries must match both the prefix and be included in the start-end range to be cleared.
batch(): KvBatch