Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
69
function
getHooks(hooked, hookType) {
70
return
(hooked.options.hooks || {})[hookType] || [];
71
}
72
73
const
Hooks = {
74
/**
Callers
2
runHooks
Function · 0.85
addHook
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected