ConstructorParamMetadata

data class ConstructorParamMetadata<T : Any>(val parameter: KParameter, val property: KProperty1<T, Any?>, val type: KType, val keyName: String)

Metadata for a single constructor parameter and its corresponding property in a data class.

Type Parameters

T

The type of the data class.

Constructors

Link copied to clipboard
constructor(parameter: KParameter, property: KProperty1<T, Any?>, type: KType, keyName: String)

Properties

Link copied to clipboard

The mapped name used to resolve this property against a PostgreSQL record/composite type.

Link copied to clipboard

The reflection KParameter object from the constructor.

Link copied to clipboard

The reflection KProperty1 object corresponding to the parameter.

Link copied to clipboard
val type: KType

The Kotlin KType of the parameter.