@xtandard/entitlements/counters/sqlite
SQLite counter store on bun:sqlite (Bun only): one upsert statement per
atomic add (ADR 0004).
import { … } from "@xtandard/entitlements/counters/sqlite";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createSqliteCounterStore |
Create a bun:sqlite counter store. |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
SqlCounterStore |
A CounterStore with keys and a sweep of expired rows. |
SqliteCounterStore |
A SQLite SqlCounterStore plus close() (closes a database this store opened). |
SqliteCounterStoreOptions |
Options for createSqliteCounterStore. |