toggle menu
exposed
0.56.0
jvm
switch theme
search in API
exposed-core
/
org.jetbrains.exposed.sql.transactions
/
TransactionManager
/
Companion
/
currentOrNew
current
Or
New
fun
currentOrNew
(
isolation
:
Int
)
:
Transaction
Returns the current
Transaction
, or creates a new transaction with the provided
isolation
level.