Skip to content

@saflib/drizzle-sqlite3


Type Alias: DbTransaction<S>

DbTransaction<S> = Parameters<TransactionCallback<S>>[0]

Convenience type; the tx object passed to the drizzle transaction callback, with a generic parameter for the schema.

Type Parameters

Type Parameter
S extends Schema