Back to Exposed

currentOrNull

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc.transactions/current-or-null.html

1.2.0580 B
Original Source

currentOrNull

fun R2dbcTransactionManager.currentOrNull(): R2dbcTransaction?

Returns the current R2DBC transaction from the thread-local stack for this manager's database, or null if none exists.

Return

The current R2dbcTransaction for this manager's database, or null if no transaction is active.

Generated by Dokka © 2026 Copyright