Skip to content

createSqliteStorage

function createSqliteStorage(options?): SqliteKvStorage;

Defined in: src/storage/sqlite.ts:115

Create a SQLite-backed storage. Requires the Bun runtime once used.

Parameter Type
options? SqliteStorageOptions

SqliteKvStorage

import { createSqliteStorage } from "@xtandard/kit/storage/sqlite";
const storage = createSqliteStorage({ path: "./data.sqlite", table: "xtandard_kv" });