Skip to content

createDrizzleStorage

function createDrizzleStorage(options): DrizzleEventLogAuditStorage;

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

Create a Drizzle-backed storage. No DDL, no connection ownership. The dialect is detected from db (or set with dialect). With events + eventTargets the result implements the native event log.

Parameter Type
options DrizzleStorageOptions & object

DrizzleEventLogAuditStorage

function createDrizzleStorage(options): DrizzleAuditStorage;

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

Create a Drizzle-backed storage. No DDL, no connection ownership. The dialect is detected from db (or set with dialect). With events + eventTargets the result implements the native event log.

Parameter Type
options DrizzleStorageOptions

DrizzleAuditStorage