Back to Exposed

managerFor

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc.transactions/-transaction-manager/-companion/manager-for.html

1.2.0845 B
Original Source

managerFor

fun managerFor(database: R2dbcDatabase): R2dbcTransactionManager

Returns the R2dbcTransactionManager instance associated with the provided database.

Return

The R2dbcTransactionManager associated with the database.

Parameters

database

Database instance for which to retrieve the transaction manager.

Throws

IllegalStateException

if no transaction manager is registered for the given database.

Generated by Dokka © 2026 Copyright