R2dbcDatabaseConfig

A configuration for an R2dbcDatabase instance.

Parameters set in this class apply to all transactions that use the R2dbcDatabase instance, unless an applicable override is specified in an individual transaction block.

Types

Link copied to clipboard

Builder API responsible for constructing a custom R2dbcDatabase configuration parameter state.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val connectionFactoryOptions: ConnectionFactoryOptions

The ConnectionFactoryOptions state holder that should be associated to a io.r2dbc.spi.ConnectionFactory when creating connections.

Link copied to clipboard
abstract val defaultFetchSize: Int?
Link copied to clipboard
Link copied to clipboard
abstract val defaultMaxAttempts: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val defaultR2dbcIsolationLevel: IsolationLevel?

The default transaction IsolationLevel. If not specified, the database-specific level will be used. This can be overridden on a per-transaction level by specifying the transactionIsolation parameter of the org.jetbrains.exposed.v1.r2dbc.transactions.suspendTransaction.

Link copied to clipboard
abstract val defaultReadOnly: Boolean
Link copied to clipboard
abstract val defaultSchema: Schema?
Link copied to clipboard
abstract val dispatcher: CoroutineDispatcher

The CoroutineDispatcher to be used when determining the scope of the underlying R2DBC database connection object.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val sqlLogger: SqlLogger
Link copied to clipboard

Registry storing all built-in org.jetbrains.exposed.v1.r2dbc.mappers.TypeMapper classes, as well as any custom mappers implemented and detected by a ServiceLoader.

Link copied to clipboard
Link copied to clipboard