@qubu/adapter-libsql
v0.8.0
Published
> Adapt an application-owned `@libsql/client` for SQLite queries, EXPLAIN, and callback transactions.
Downloads
739
Readme
@qubu/adapter-libsql
Adapt an application-owned
@libsql/clientfor SQLite queries, EXPLAIN, and callback transactions.
import { libsqlAdapter } from "@qubu/adapter-libsql"
import { qubu } from "qubu"
// Supply the application-owned client or database described above.
const db = qubu(libsqlAdapter(client))Limitations
- No query streaming is exposed. Abort signals are checked before execution, but do not cancel an in-flight driver query.
- Transactions default to libSQL’s
writemode. Nested transactions/savepoints are not exposed. The adapter closes transaction handles; the application owns the client’s lifetime. - The
/migrationentry point rejects transaction-forbidden phases and shared DDL locks. Its default snapshot reader uses strict SQLite introspection; custom readers must exclude reserved__qubu_migration_objects.
See migration capability profiles for the execution requirements of migration entry points.
