Skip to content

@xtandard/kit/storage/sqlite/internals

@xtandard/kit/storage/sqlite/internals — semi-public building blocks of the bun:sqlite driver (ADR 0004), for product capability layers (e.g. extra tables over the same database): the lazy connection with one-time DDL, the executor adapter, and the shared SQLite KV core. Covered by the versioning policy like any export; changes are a MINOR bump.

import { … } from "@xtandard/kit/storage/sqlite/internals";
Name Summary
bunSqliteExecutor Adapt a bun:sqlite database to the positional-args SqliteExecutor.
sqliteConnection Build a SqliteConnection that opens path (or borrows database) and runs ddl once. Products add their own tables by passing extra statements.
Name Summary
SqliteConnection A lazily opened bun:sqlite database whose DDL runs once (semi-public, ADR 0004).
Name Documented on
SqliteExecutor @xtandard/kit/storage/libsql/internals
sqliteKvSchema @xtandard/kit/storage/libsql/internals
sqliteKvStorage @xtandard/kit/storage/libsql/internals
SqliteRow @xtandard/kit/storage/libsql/internals
SqliteStatement @xtandard/kit/storage/libsql/internals