MCPcopy
hub / github.com/sequelize/sequelize / or

Method or

src/sequelize.js:1091–1093  ·  view source on GitHub ↗

* An OR query * * @see * Model.findAll * * @param {...string|object} args Each argument will be joined by OR * @since v2.0.0-dev3 * @memberof Sequelize * * @returns {Sequelize.or}

(...args)

Source from the content-addressed store, hash-verified

1089 * @returns {Sequelize.or}
1090 */
1091 static or(...args) {
1092 return { [Op.or]: args };
1093 }
1094
1095 /**
1096 * Creates an object representing nested where conditions for postgres/sqlite/mysql json data-type.

Callers 9

model.test.jsFile · 0.80
instance.test.jsFile · 0.80
include.test.jsFile · 0.80
create.test.jsFile · 0.80
field.test.jsFile · 0.80
sequelize.tsFile · 0.80
where.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected