routier-collection / plugins/postgresql/src / buildFromPersistOperation
Function: buildFromPersistOperation()
buildFromPersistOperation<
TEntity>(schema,changes):object
Defined in: plugins/postgres-core/dist/utils.d.ts:48
Type Parameters
TEntity
TEntity extends object
Parameters
schema
CompiledSchema<TEntity>
changes
SchemaPersistChanges<Record<string, unknown>>
Returns
object
adds
adds:
SqlOperation
updates
updates:
SqlOperation[]
removes
removes:
SqlOperation