sequilize find with where code example
Example 1: sequelize .all()
yourTableModel.findAll({
//optional filters
where: {},
raw: true,
})
Example 2: in in sequelize
await Tag.findAll({
where: {
id: {
[Sequelize.Op.in]: [1, 2, 3, 4]
}
}
});