All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.komapper.r2dbc.dsl.runner.R2dbcRowWrapper.kt Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package org.komapper.r2dbc.dsl.runner

import org.komapper.core.dsl.query.Row
import org.komapper.r2dbc.R2dbcDataOperator
import kotlin.reflect.KType

internal class R2dbcRowWrapper(
    private val dataOperator: R2dbcDataOperator,
    private val row: io.r2dbc.spi.Row,
) : Row {
    override fun  get(index: Int, type: KType): T? {
        return dataOperator.getValue(row, index, type)
    }

    override fun  get(columnLabel: String, type: KType): T? {
        return dataOperator.getValue(row, columnLabel, type)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy