@xtandard/flags/drizzle/sqlite
SQLite table factory for the Drizzle storage adapter: sqliteFlagsTable puts
the flags key/value table in your Drizzle schema and migrations. Schema-only.
Optional peer dependency: drizzle-orm.
Entry point for the @xtandard/flags/drizzle/sqlite subpath export.
import { … } from "@xtandard/flags/drizzle/sqlite";Functions
Section titled “Functions”| Name | Summary |
|---|---|
sqliteFlagsTable |
Build the Drizzle sqliteTable for the flags KV store: key text PRIMARY KEY, value text NOT NULL (JSON mode). |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
SqliteFlagsTableOptions |
Options for sqliteFlagsTable: extraColumns and extraIndexes. |