MCPcopy Index your code
hub / github.com/sequelize/sequelize / _optionsMustContainWhere

Method _optionsMustContainWhere

src/model.js:3568–3572  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

3566 }
3567
3568 static _optionsMustContainWhere(options) {
3569 assert(options && options.where, 'Missing where attribute in the options parameter');
3570 assert(_.isPlainObject(options.where) || Array.isArray(options.where) || options.where instanceof Utils.SequelizeMethod,
3571 'Expected plain object, array or sequelize method in the options.where parameter');
3572 }
3573
3574 /**
3575 * Get an object representing the query for this instance, use with `options.where`

Callers 2

updateMethod · 0.95
incrementMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected