Interface IEntityFieldTransformer

An object, which transforms the data of a field.

interface IEntityFieldTransformer {
    from?: Nilable<DataTransformer>;
    to?: Nilable<DataTransformer>;
}

Properties

Properties

from?: Nilable<DataTransformer>

The optional action to invoke, when data comes from database to entity.

to?: Nilable<DataTransformer>

The optional action to invoke, when data of an entity field is written to database.

Generated using TypeDoc