(options)
| 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` |