MCPcopy
hub / github.com/sequelize/sequelize / beforeUpdate

Method beforeUpdate

src/hooks.d.ts:35–35  ·  view source on GitHub ↗
(instance: M, options: InstanceUpdateOptions<TAttributes>)

Source from the content-addressed store, hash-verified

33 beforeRestore(instance: M, options: InstanceRestoreOptions): HookReturn;
34 afterRestore(instance: M, options: InstanceRestoreOptions): HookReturn;
35 beforeUpdate(instance: M, options: InstanceUpdateOptions<TAttributes>): HookReturn;
36 afterUpdate(instance: M, options: InstanceUpdateOptions<TAttributes>): HookReturn;
37 beforeUpsert(attributes: M, options: UpsertOptions<TAttributes>): HookReturn;
38 afterUpsert(attributes: [ M, boolean | null ], options: UpsertOptions<TAttributes>): HookReturn;

Callers 6

model.test.jsFile · 0.80
save.test.jsFile · 0.80
update.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected