MCPcopy
hub / github.com/sequelize/sequelize / beforeDestroy

Method beforeDestroy

src/hooks.d.ts:31–31  ·  view source on GitHub ↗
(instance: M, options: InstanceDestroyOptions)

Source from the content-addressed store, hash-verified

29 beforeCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn;
30 afterCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn;
31 beforeDestroy(instance: M, options: InstanceDestroyOptions): HookReturn;
32 afterDestroy(instance: M, options: InstanceDestroyOptions): HookReturn;
33 beforeRestore(instance: M, options: InstanceRestoreOptions): HookReturn;
34 afterRestore(instance: M, options: InstanceRestoreOptions): HookReturn;

Callers 3

destroy.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected