Skip to content

SqliteConnection

Defined in: src/storage/sqlite.ts:43

A lazily opened bun:sqlite database whose DDL runs once (semi-public, ADR 0004).

close(): void;

Defined in: src/storage/sqlite.ts:47

Close the database if this connection opened it.

void


get(): Promise<Database>;

Defined in: src/storage/sqlite.ts:45

Resolve the database, opening it and running the DDL on first use (retried after a failure).

Promise<Database>