Skip to content

DrizzleStorageOptions

Defined in: src/storage/drizzle.ts:199

Options for createDrizzleStorage.

Property Type Description Defined in
db unknown Your Drizzle database (node-postgres, postgres-js, mysql2, bun:sqlite, libsql, pglite, …). src/storage/drizzle.ts:207
dialect? DrizzleDialect Override dialect detection (normally read from db). src/storage/drizzle.ts:211
subpath? string The import path to name in error messages (a missing peer, a missing client/url…), e.g. "@xtandard/webhooks/storage/drizzle" when a product re-exports this driver. Default: the kit subpath. src/storage/drizzle.ts:205
table DrizzleKvTable The KV table, built with a @xtandard/kit/drizzle/* factory (or matching its shape). src/storage/drizzle.ts:209