阅读背景:

使用sequelize.js在2个表之间嵌套的mysql事务

来源:互联网 

I have 2 sequelize models (Event and Inventory associated with 2 tables). I created a Event._create method so that I can use it to create an event in event db with multiple products recorded in the inventory db at the same time. Each inventory is associated with the event_id of the newly created event. I have 2 sequelize models (Event and Inventory




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: