pgCountersTable
function pgCountersTable(name?, opts?): DrizzleCounterTable;Defined in: src/drizzle/pg.ts:73
Build the Drizzle pgTable for the counter store: key text COLLATE "C" PRIMARY KEY, value double precision NOT NULL DEFAULT 0, applied double precision NOT NULL DEFAULT 0, expires_at bigint (unix ms). Required by
createDrizzleCounterStore. The table name defaults to
"xtandard_entitlements_counters".
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
name? |
string |
"xtandard_entitlements_counters" |
opts? |
PgKvTableOptions |
undefined |