DrizzleCounterStoreOptions
Defined in: src/counters/drizzle.ts:46
Options for createDrizzleCounterStore.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
db |
unknown |
Your Drizzle database (any Postgres, MySQL or SQLite driver). | src/counters/drizzle.ts:48 |
dialect? |
DrizzleDialect |
Override dialect detection (normally read from db). |
src/counters/drizzle.ts:52 |
now? |
() => number |
Clock (unix ms) for expiry hints and claim TTLs. Default Date.now. |
src/counters/drizzle.ts:54 |
table |
DrizzleCounterTable |
The counter table built with a *CountersTable factory (or matching that shape). |
src/counters/drizzle.ts:50 |