Is multiple delete available in sequelize?
node.js, sequelize.js
Solution
Example:
Model.destroy({ where: { id: [1,2,3,4] }})
For more details check the API docs.
Problem
I have a multiple contentIds. ``` Mode.findAll({ where: { id: contentIds } }) ``` After finding all how can I Delete multiple rows from a table. Or tell me other options to delete multiple records with a single query.