Skip to content

@saflib/drizzle


Type Alias: TransactionCallback<S> ​

TransactionCallback<S> > = Parameters<DbConnection<S>>["transaction"]>[0]

Convenience type; the first parameter of the transaction method, with a generic parameter for the schema.

Type Parameters ​

Type Parameter
S extends Schema