What is the difference between bulk delete and destroy in sequelize?

599 views Asked by At

I am trying to delete all my records from a table using sequelize but saw that there are two possible functions to use: queryInterface.bulkDelete and queryInterface.destroy . Can someone tell me what are the differences between these two and which one should I use? The documentation does not do a great job apparently.

0

There are 0 answers