MCPcopy
hub / github.com/sequelize/sequelize / _defaultsOptions

Method _defaultsOptions

src/model.js:860–864  ·  view source on GitHub ↗
(target, opts)

Source from the content-addressed store, hash-verified

858 }
859
860 static _defaultsOptions(target, opts) {
861 return this._baseMerge(target, opts, (srcValue, objValue, key) => {
862 return this._mergeFunction(objValue, srcValue, key);
863 });
864 }
865
866 /**
867 * Initialize a model, representing a table in the DB, with attributes and options.

Callers 1

_injectScopeMethod · 0.95

Calls 2

_baseMergeMethod · 0.95
_mergeFunctionMethod · 0.95

Tested by

no test coverage detected