MCPcopy
hub / github.com/sequelize/sequelize / beforeUpsert

Method beforeUpsert

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

Source from the content-addressed store, hash-verified

34 beforeUpdate(instance: M, options: InstanceUpdateOptions<TAttributes>): HookReturn;
35 afterUpdate(instance: M, options: InstanceUpdateOptions<TAttributes>): HookReturn;
36 beforeUpsert(attributes: M, options: UpsertOptions<TAttributes>): HookReturn;
37 afterUpsert(attributes: [ M, boolean | null ], options: UpsertOptions<TAttributes>): HookReturn;
38 beforeSave(
39 instance: M,

Callers 1

upsert.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected