MCPcopy
hub / github.com/sequelize/sequelize / beforeSave

Method beforeSave

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

Source from the content-addressed store, hash-verified

36 beforeUpsert(attributes: M, options: UpsertOptions<TAttributes>): HookReturn;
37 afterUpsert(attributes: [ M, boolean | null ], options: UpsertOptions<TAttributes>): HookReturn;
38 beforeSave(
39 instance: M,
40 options: InstanceUpdateOptions<TAttributes> | CreateOptions<TAttributes>
41 ): HookReturn;

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected