# newTransaction

open override fun newTransaction(isolation: IsolationLevel? = defaultIsolationLevel, readOnly: Boolean? = defaultReadOnly, outerTransaction: R2dbcTransaction? = null): R2dbcTransaction

Returns an R2dbcTransaction instance.

The returned value may be a new transaction, or it may return the outerTransaction if called from within an existing transaction with the database not configured to `useNestedTransactions`.