MCPcopy
hub / github.com/sequelize/sequelize / afterValidate

Method afterValidate

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

Source from the content-addressed store, hash-verified

26export interface ModelHooks<M extends Model = Model, TAttributes = any> {
27 beforeValidate(instance: M, options: ValidationOptions): HookReturn;
28 afterValidate(instance: M, options: ValidationOptions): HookReturn;
29 beforeCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn;
30 afterCreate(attributes: M, options: CreateOptions<TAttributes>): HookReturn;
31 beforeDestroy(instance: M, options: InstanceDestroyOptions): HookReturn;

Callers 4

validate.test.jsFile · 0.80
create.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected