org.komapper.r2dbc.dsl.runner.R2dbcEntityUpdateRunnerSupport.kt Maven / Gradle / Ivy
package org.komapper.r2dbc.dsl.runner
import org.komapper.core.dsl.context.EntityUpdateContext
import org.komapper.core.dsl.metamodel.EntityMetamodel
import org.komapper.r2dbc.R2dbcDatabaseConfig
import org.komapper.r2dbc.R2dbcExecutor
internal class R2dbcEntityUpdateRunnerSupport>(
private val context: EntityUpdateContext,
) {
suspend fun update(config: R2dbcDatabaseConfig, execute: suspend (R2dbcExecutor) -> T): T {
val executor = R2dbcExecutor(config, context.options)
return execute(executor)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy