memoizedTransform
Returns a EntityFieldWithTransform delegate that will cache the transformed value on first read of this same stored Unwrapped value.
Parameters
An instance of ColumnTransformer to handle the transformations.
Samples
org.jetbrains.exposed.sql.tests.shared.entities.TransformationsTableorg.jetbrains.exposed.sql.tests.shared.entities.TransformationEntityReturns a EntityFieldWithTransform delegate that will cache the transformed value on first read of this same stored Unwrapped value.
Parameters
A pure function that converts a transformed value to a value that can be stored in this original column type.
A pure function that transforms a value stored in this original column type.
Samples
org.jetbrains.exposed.sql.tests.shared.entities.TransformationsTableorg.jetbrains.exposed.sql.tests.shared.entities.TransformationEntityReturns a EntityFieldWithTransform that extends transformation of existing EntityFieldWithTransform and caches the transformed value on first read.
Parameters
A function that transforms the value to the wrapping type of previously defined transformation
A function that transforms value to the wrapping type