Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/src/store/storage/kv/kv_driver_indexeddb.ts>KvDriverIndexedDB

Exploring Willow in the most efficient and sound programming language
Go to Latest
class KvDriverIndexedDB
implements KvDriver
import { KvDriverIndexedDB } from "https://deno.land/x/willow@0.2.1/src/store/storage/kv/kv_driver_indexeddb.ts";

Constructors

new
KvDriverIndexedDB()

Properties

private
db

Methods

clear(opts?: { prefix?: KvKey | undefined; start?: KvKey | undefined; end?: KvKey | undefined; } | undefined): Promise<void>
delete(key: KvKey): Promise<boolean>
get<Value>(key: KvKey): Promise<Value | undefined>
list<Value>(selector: { start?: KvKey | undefined; end?: KvKey | undefined; prefix?: KvKey | undefined; }, opts?: { reverse?: boolean | undefined; limit?: number | undefined; batchSize?: number | undefined; } | undefined): AsyncIterable<{ key: KvKey; value: Value; }>
set<Value>(key: KvKey, value: Value): Promise<void>