MCPcopy
hub / github.com/sequelize/sequelize / beforeCreate

Method beforeCreate

types/lib/hooks.d.ts:28–28  ·  view source on GitHub ↗
(attributes: M, options: CreateOptions<TAttributes>)

Source from the content-addressed store, hash-verified

26 beforeValidate(instance: M, options: ValidationOptions): HookReturn;
27 afterValidate(instance: M, options: ValidationOptions): HookReturn;
28 beforeCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn;
29 afterCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn;
30 beforeDestroy(instance: M, options: InstanceDestroyOptions): HookReturn;
31 afterDestroy(instance: M, options: InstanceDestroyOptions): HookReturn;

Callers 6

sequelize.tsFile · 0.80
create.test.jsFile · 0.80
create.test.jsFile · 0.80
hooks.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected