SqliteConnection
Defined in: src/storage/sqlite.ts:43
A lazily opened bun:sqlite database whose DDL runs once (semi-public, ADR 0004).
Methods
Section titled “Methods”close()
Section titled “close()”close(): void;Defined in: src/storage/sqlite.ts:47
Close the database if this connection opened it.
Returns
Section titled “Returns”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).
Returns
Section titled “Returns”Promise<Database>