@xtandard/flags/storage/sqlite
SQLite storage on bun:sqlite: createSqliteStorage, a file-backed (or
in-memory) database for single-node persistence. Bun only; no npm
dependencies.
Subpath entry for @xtandard/flags/storage/sqlite.
import { … } from "@xtandard/flags/storage/sqlite";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createSqliteStorage |
Create a SQLite-backed storage. Requires the Bun runtime (bun:sqlite). |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
SqliteFlagsStorage |
A compare-and-swap capable FlagsStorage backed by SQLite, plus close(). |
SqliteStorageOptions |
Options for createSqliteStorage. table defaults to "xtandard_flags". |