createSqliteStorage
function createSqliteStorage(options?): SqliteEntitlementsStorage;Defined in: src/storage/sqlite.ts:40
Create a SQLite-backed SqliteEntitlementsStorage. The table is created on first use.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
SqliteStorageOptions |
Returns
Section titled “Returns”Example
Section titled “Example”import { createSqliteStorage } from "@xtandard/entitlements/storage/sqlite";
const storage = createSqliteStorage({ path: "./entitlements.sqlite" });