Is there a way to create all relationships in single create call in a many-to-many relationship considering unique attribute in one of the entities?

后端 未结 0 1880
死守一世寂寞
死守一世寂寞 2020-12-08 18:04

Suppose the following example:

We have three models: News, Tag, NewsTags

// News Model
const News = sequelize.define("News", {
  title: { typ         


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