(options)
| 3440 | } |
| 3441 | |
| 3442 | static _optionsMustContainWhere(options) { |
| 3443 | assert(options && options.where, 'Missing where attribute in the options parameter'); |
| 3444 | assert(_.isPlainObject(options.where) || Array.isArray(options.where) || options.where instanceof Utils.SequelizeMethod, |
| 3445 | 'Expected plain object, array or sequelize method in the options.where parameter'); |
| 3446 | } |
| 3447 | |
| 3448 | /** |
| 3449 | * Get an object representing the query for this instance, use with `options.where` |