Skip to main content
Version: Next

EntityComparator

Index

Constructors

constructor

Methods

diffEntities

mapResult

matching

prepareEntity

  • Removes ORM specific code from entities and prepares it for serializing. Used before change set computation. References will be mapped to primary keys, collections to arrays of primary keys.


    Parameters

    • entity: T

    Returns EntityData<T>

staticisComparable

  • perf: used to generate list of comparable properties during discovery, so we speed up the runtime comparison


    Parameters

    Returns boolean