MCPcopy
hub / github.com/sequelize/sequelize / _injectScope

Method _injectScope

lib/model.js:3285–3288  ·  lib/model.js::Model._injectScope
(options)

Source from the content-addressed store, hash-verified

3283
3284 class="cm">// Inject _scope into options.
3285 static _injectScope(options) {
3286 const scope = Utils.cloneDeep(this._scope);
3287 this._defaultsOptions(options, scope);
3288 }
3289
3290 static [Symbol.for(class="st">'nodejs.util.inspect.custom')]() {
3291 return this.name;

Callers 7

findAllMethod · 0.95
aggregateMethod · 0.95
destroyMethod · 0.95
updateMethod · 0.95
incrementMethod · 0.95
scope.test.jsFile · 0.80

Calls 1

_defaultsOptionsMethod · 0.95

Tested by

no test coverage detected