@xtandard/entitlements/storage/drizzle
Drizzle state storage: createDrizzleStorage() reads and writes a table you
own (built with the drizzle/* factories) through the Drizzle database you
pass. No DDL, no connection of its own; Postgres, MySQL or SQLite.
import { … } from "@xtandard/entitlements/storage/drizzle";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createDrizzleStorage |
Create a Drizzle-backed DrizzleEntitlementsStorage. No DDL, no connection ownership. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
DrizzleEntitlementsStorage |
A compare-and-swap capable storage over a Drizzle table. For push change-notifications, compose it with withWatch + a change source (e.g. pgListenNotify) — watch is orthogonal to the adapter. |