且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在数据库设计中的多对多关系

更新时间:2022-12-30 21:57:31

错误的是有多对多关系,您只需创建一个连接表 (这听起来像是你用 articlesTags 指代),以方便这种关系。

There's nothing inherently wrong with having a many-to-many relationship, you'll just need to create a Junction Table (which is what it sounds like you're referring to with articlesTags) to facilitate that relationship.