Do link tables need a meaningless primary key field?

前端 未结 12 1516
你的背包
你的背包 2020-12-08 14:05

I am working on a couple of link tables and I got to thinking (Danger Will Robinson, Danger) what are the possible structures of a link table and what are their pro\'s and c

12条回答
  •  借酒劲吻你
    2020-12-08 14:47

    I would use composite key, and no extra meaningless key.

    I would not use a ORM system that enforces such rules on my db structure.

提交回复
热议问题