Skip to main content
Version: Next

ChangeSetPersister

Index

Constructors

constructor

Methods

executeDeletes

  • Type parameters

    • T: object

    Parameters

    Returns Promise<void>

executeInserts

  • Type parameters

    • T: object

    Parameters

    Returns Promise<void>

executeUpdates

  • Type parameters

    • T: object

    Parameters

    Returns Promise<void>

mapReturnedValues

  • Maps values returned via returning statement (postgres) or the inserted id (other sql drivers). No need to handle composite keys here as they need to be set upfront. We do need to map to the change set payload too, as it will be used in the originalEntityData for new entities.


    Type parameters

    • T: object

    Parameters

    Returns void