ER图中的mysql workbench列图标是什么意思? [英] What do the mysql workbench column icons mean in ER Diagram?

查看:298
本文介绍了ER图中的mysql workbench列图标是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我解释在MySQL Workbench中创建的数据库ER图中的图标.

Can any one help me in explaining about the icons in the ER Diagram of Database created in MySQL Workbench.

  • 蓝钻(已填充);
  • 蓝钻(未装满);
  • Red Diamond等;
    谢谢!

推荐答案

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

I've found these resources on MySQL's website:

如果图标是小键,则该列属于主键,否则,图标为蓝色菱形或白色菱形.蓝色菱形表示该列已设置NN.

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.

除了上面的文字外,红色菱形还表示外键关联.

In addition to the text above, a red diamond indicates a Foreign Key association.

回答您的问题:

  • 蓝色菱形(已填满)=表示不为空
  • 蓝色菱形(未填充)=表示空
  • Red Diamond等=表示外键{已填充:NOT NULL,未填充:NULL}

这篇关于ER图中的mysql workbench列图标是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆