Skip to content

createTransactionHooks

createTransactionHooks(): TransactionHooksHandle

Defined in: packages/core/src/transaction-hooks.ts:60

Create a new transaction hooks handle.

Returns transactionHooks (pass to mutating client methods), flush (call after commit), and discard (call on rollback).

TransactionHooksHandle