gpt4 book ai didi

python-2.7 - Python/sqlite3 : is there a way to make database schema figure?

转载 作者:行者123 更新时间:2023-12-03 23:53:11 26 4
gpt4 key购买 nike

对 sql 很陌生,因此对 sqlite3 很陌生。我正在建立一个关系数据库,需要在填充实际数据之前进行同行评审的视觉效果。 (也就是说,我正在使用主键和外键设置所有表和字段,但目前没有记录。)

有没有办法制作一个图形来直观地显示表格之间的关系? (下面的示例互联网抓取 - 或者可能因为我是新用户而链接。)使用 sqlite3 和 python。如果它看起来比糟糕的 Access 视觉效果更好,则可以加分!

schema plot figure

最佳答案

在 Python 中制作关系图的一种可能解决方案是 ERAlchemy。截至本文发布时,我还没有看到任何其他纯 Python 解决方案。

https://pypi.org/project/ERAlchemy/

关于python-2.7 - Python/sqlite3 : is there a way to make database schema figure?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54393979/

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