DatabaseConfig

interface DatabaseConfig

Base configuration for a DatabaseApi instance.

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

Types

Link copied to clipboard
open class Builder

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

Link copied to clipboard
object Companion

Properties

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 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 Exposed transaction if It is run in a context with no dispatcher. It could be, for instance, a Ktor route or a standalone Kotlin script.

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