EntityFieldWithTransform

Class responsible for enabling Entity field transformations, which may be useful when advanced database type conversions are necessary for entity mappings.

Constructors

Link copied to clipboard
constructor(column: Column<Unwrapped>, transformer: ColumnTransformer<Unwrapped, Wrapped>, cacheResult: Boolean = false)

Properties

Link copied to clipboard

The original column that will be transformed

Functions

Link copied to clipboard
open override fun unwrap(value: Wrapped): Unwrapped
Link copied to clipboard
open override fun wrap(value: Unwrapped): Wrapped

The function used to transform a value stored in the original column type.