gpt4 book ai didi

database - ER 图中的 mysql workbench 列图标是什么意思?

转载 作者:太空狗 更新时间:2023-10-30 01:51:54 31 4
gpt4 key购买 nike

谁能帮我解释一下在 MySQL Workbench 中创建的数据库 ER 图中的图标。

x

  • 蓝色钻石(填充);
  • 蓝色钻石(未填充);
  • 红钻等;
    谢谢!

最佳答案

我在 MySQL 的网站上找到了这些资源:

If the icon is a small key, that column belongs to the primary key, otherwise the icon is a blue diamond or a white diamond. A blue diamond indicates the column has NN set.

除了上面的文本,红色菱形表示外键关联。

回答你的问题:

  • 蓝色菱形(实心)= 表示 NOT NULL
  • 蓝色钻石(未填充)= 表示 NULL
  • Red Diamond, et cetera = 表示外键{filled: NOT NULL, unfilled: NULL}

关于database - ER 图中的 mysql workbench 列图标是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25215666/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com