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

Method _defaultsOptions

lib/model.js:831–835  ·  view source on GitHub ↗
(target, opts)

Source from the content-addressed store, hash-verified

829 }
830
831 static _defaultsOptions(target, opts) {
832 return this._baseMerge(target, opts, (srcValue, objValue, key) => {
833 return this._mergeFunction(objValue, srcValue, key);
834 });
835 }
836
837 /**
838 * 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