Back to Exposed

currentOrNull

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

1.2.0571 B
Original Source

currentOrNull

fun JdbcTransactionManager.currentOrNull(): JdbcTransaction?

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

Return

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

Generated by Dokka © 2026 Copyright