TypeMapper

interface TypeMapper

Interface for mapping values to R2DBC statements. Implementations of this interface are responsible for binding values to statements based on the column type and dialect.

Inheritors

Properties

Link copied to clipboard
open val columnTypes: List<KClass<out IColumnType<*>>>

List of column types this mapper supports. If empty, the mapper supports all column types.

Link copied to clipboard

List of dialects this mapper supports. If empty, the mapper supports all dialects.

Functions

Link copied to clipboard
abstract fun setValue(    statement: Statement,     dialect: DatabaseDialect,     mapperRegistry: TypeMapperRegistry,     columnType: IColumnType<*>,     value: Any?,     index: Int): Boolean

Sets a value in the statement.