- Preparing search index...
- The search index is not available
kysely
Class TransactionBuilder<DB>
Constructors
constructor
- new TransactionBuilder<DB>(props): TransactionBuilder<DB>
-
Parameters
-
props: TransactionBuilderProps
Methods
execute
- execute<T>(callback): Promise<T>
-
Parameters
-
callback: ((trx) => Promise<T>)
-
- (trx): Promise<T>
-
Returns Promise<T>
Returns Promise<T>
setIsolationLevel
- setIsolationLevel(isolationLevel): TransactionBuilder<DB>
-
Parameters
-
isolationLevel: "read uncommitted" | "read committed" | "repeatable read" | "serializable" | "snapshot"