Sequelize set value of Many to Many field

前端 未结 0 1734
执念已碎
执念已碎 2021-01-30 01:53

I have two models with Many to Many relationships-

1.Alert
2.Target

Alert.associate = (models) => {
    Alert.belongsToMany(models.Target, {through: \'alert_t         


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