Relative Content

Tag Archive for postgresqlsequelize.js

Using Sequelize bulkCreate as a bulk update

We have a node project with Sequelize and postgresql, and I need to improve the performance of some endpoints. And there are several cases in the code where an update query is made for each row (with different data for each row), and this becomes a problem even with like 50 rows. So, I’m trying to implement something like a bulk update.