Back to Exposed

currentOrNew

docs/api/exposed-jdbc/org.jetbrains.exposed.v1.jdbc.transactions/-transaction-manager/-companion/current-or-new.html

1.2.0532 B
Original Source

currentOrNew

fun currentOrNew(isolation: Int = manager.defaultIsolationLevel): JdbcTransaction

Returns the current JdbcTransaction, or creates a new transaction with the provided isolation level.

Generated by Dokka © 2026 Copyright