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

Method afterValidate

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

Source from the content-addressed store, hash-verified

25export interface ModelHooks<M extends Model = Model, TAttributes = any> {
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;

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected