memoizedTransform
fun <Unwrapped, Wrapped> Column<Unwrapped>.memoizedTransform(transformer: ColumnTransformer<Unwrapped, Wrapped>): EntityFieldWithTransform<Unwrapped, Wrapped>
Returns an EntityFieldWithTransform delegate that caches the transformed value on first read of this same stored Unwrapped value.
Parameters
transformer
An instance of ColumnTransformer to handle the transformations.
fun <Unwrapped, Wrapped> Column<Unwrapped>.memoizedTransform(unwrap: (Wrapped) -> Unwrapped, wrap: (Unwrapped) -> Wrapped): EntityFieldWithTransform<Unwrapped, Wrapped>
Returns an EntityFieldWithTransform delegate that caches the transformed value on first read of this same stored Unwrapped value.
fun <TColumn, Unwrapped, Wrapped> EntityFieldWithTransform<TColumn, Unwrapped>.memoizedTransform(unwrap: (Wrapped) -> Unwrapped, wrap: (Unwrapped) -> Wrapped): EntityFieldWithTransform<TColumn, Wrapped>
Returns an EntityFieldWithTransform that extends transformation of an existing EntityFieldWithTransform and caches the transformed value on first read.