Sequelize transaction for loops and commit after loop ends

前端 未结 0 2005
借酒劲吻你
借酒劲吻你 2021-01-21 01:27

I\'m trying to implement transaction in Sequelize for my code. I\'m using forEach loop. What I want is to commit the transaction when loop ends. Here\'s my code:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题