MCPcopy
hub / github.com/sequelize/sequelize / getHooks

Function getHooks

lib/hooks.js:69–71  ·  view source on GitHub ↗
(hooked, hookType)

Source from the content-addressed store, hash-verified

67;
68
69function getHooks(hooked, hookType) {
70 return (hooked.options.hooks || {})[hookType] || [];
71}
72
73const Hooks = {
74 /**

Callers 2

runHooksFunction · 0.85
addHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected