import { ReplicaDriverSqlite } from "https://deno.land/x/earthstar@v9.3.3/src/entries/deno.ts";
A strorage driver which persists to SQLite. Works in Deno and browsers.
Methods
_getConfigSync(key: string): string | undefined
_listConfigKeysSync(): string[]
close(erase: boolean): Promise<void>
deleteConfig(key: string): Promise<boolean>
getConfig(key: string): Promise<string | undefined>
getMaxLocalIndex(): number
isClosed(): boolean
listConfigKeys(): Promise<string[]>
queryDocs(queryToClean: Query): Promise<Doc[]>
setConfig(key: string, content: string): Promise<void>
upsert(doc: Doc): Promise<Doc>