DrizzleCounterTable
type DrizzleCounterTable = Table & object;Defined in: src/drizzle/table.ts:26
A table with the fixed columns the Drizzle counter store requires: key
(primary key), value (double), applied (double — the amount the last
operation on the row applied, returned atomically with the new value) and
expiresAt (bigint unix ms, nullable).
Type Declaration
Section titled “Type Declaration”| Name | Type | Defined in |
|---|---|---|
applied |
Column |
src/drizzle/table.ts:29 |
expiresAt |
Column |
src/drizzle/table.ts:30 |
key |
Column |
src/drizzle/table.ts:27 |
value |
Column |
src/drizzle/table.ts:28 |