PropertyColumnMappingConfig

class PropertyColumnMappingConfig<P>(type: KType, val skip: Boolean = false, val customMapper: NullableDataMapper<P>? = null, usedForQuery: Boolean = true, val columnPropertyName: String? = null, val whetherNullDependentColumn: Column<*>? = null, val adt: PropertyColumnMappingConfig.Adt<P & Any>? = null)(source)

Parameters

skip

both writing and reading. Note that the property type need not be nullable if it's only used for writing.

whetherNullDependentColumn

required for nullable properties.

adt

sub-configs for properties and subclasses.

Constructors

Link copied to clipboard
constructor(type: KType, skip: Boolean = false, customMapper: NullableDataMapper<P>? = null, usedForQuery: Boolean = true, columnPropertyName: String? = null, whetherNullDependentColumn: Column<*>? = null, adt: PropertyColumnMappingConfig.Adt<P & Any>? = null)

Types

Link copied to clipboard
sealed class Adt<Data : Any>
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val skip: Boolean = false
Link copied to clipboard
val whetherNullDependentColumn: Column<*>? = null