ChangeSetPersister
Index
Constructors
Methods
Constructors
constructor
Parameters
driver: IDatabaseDriver<Connection>
metadata: MetadataStorage
hydrator: IHydrator
factory: EntityFactory
validator: EntityValidator
config: Configuration<IDatabaseDriver<Connection>>
Returns ChangeSetPersister
Methods
executeDeletes
Type parameters
- T: AnyEntity<T>
Parameters
changeSets: ChangeSet<T>[]
optionaloptions: DriverMethodOptions
optionalwithSchema: boolean
Returns Promise<void>
executeInserts
Type parameters
- T: AnyEntity<T>
Parameters
changeSets: ChangeSet<T>[]
optionaloptions: DriverMethodOptions
optionalwithSchema: boolean
Returns Promise<void>
executeUpdates
Type parameters
- T: AnyEntity<T>
Parameters
changeSets: ChangeSet<T>[]
batched: boolean
optionaloptions: DriverMethodOptions
optionalwithSchema: boolean
Returns Promise<void>