sequelize where and or code example
Example 1: sequelize and
{ where: { [Op.and]: [{ Col1: val1 }, { Col2: val2 }]} }
Example 2: SEQUELIZE OR
"SELECT * FROM Student WHERE LastName='Doe' OR FirstName in ("John","Jane") OR Age>18"
{ where: { [Op.and]: [{ Col1: val1 }, { Col2: val2 }]} }
"SELECT * FROM Student WHERE LastName='Doe' OR FirstName in ("John","Jane") OR Age>18"