This type allows using Op.or, Op.and, and Op.not recursively around another type. It also supports using a plain Array as an alias for Op.and. (unlike AllowNotOrAndRecursive).
Op.or
Op.and
Op.not
Example of plain-array treated as Op.and:
User.findAll({ where: [{ id: 1 }, { id: 2 }] }); Copy
User.findAll({ where: [{ id: 1 }, { id: 2 }] });
Meant to be used by WhereOptions.
This type allows using
Op.or
,Op.and
, andOp.not
recursively around another type. It also supports using a plain Array as an alias forOp.and
. (unlike AllowNotOrAndRecursive).Example of plain-array treated as
Op.and
:Meant to be used by WhereOptions.