Junction tables vs foreign key arrays?

前端 未结 1 878
夕颜
夕颜 2020-12-29 04:40

I\'m modeling many-to-many relationship where the relationship is accessed most of the time from one side only. It\'s more like a hierarchy, that is accessed top-down and no

相关标签:
1条回答
  • 2020-12-29 05:14

    Use the junction table approach. The array method is non-standard enough that you have to ask questions about how much it would work, whereas the other is completely standard.

    0 讨论(0)
提交回复
热议问题