How should I embed 2 models with a many-to-many relationship?

前端 未结 0 1792
执笔经年
执笔经年 2021-01-21 16:52

I have two models with a many-to-many relationship:

  • Blog
  • Tag

So each blog has a tags property, and each tag has a blogs

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