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).
Example of plain-array treated as Op.and:
User.findAll({ where: [{ id: 1 }, { id: 2 }] });
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
: User.findAll({ where: [{ id: 1 }, { id: 2 }] });Meant to be used by WhereOptions.