I wish there were a standard solution, but industry practice is ad hoc at best.
In MySQL, be sure to fill in the comment fields when creating tables and fields. If you use MySQL administrator, it makes it easy to manage, but that's most useful for developers to directly use. It can be used as the basis for expansion for the other categories of readers.
发布评论
评论(2)
Doxygen 支持 SQL。我将导出 DDL SQL 语句,用 Doxygen 表示法记录它们,并将其导出为 HTML/PDF/其他格式。
Doxygen supports SQL. I would export the DDL SQL statements, document them with Doxygen notation and export it to HTML / PDF / whatever.
我希望有一个标准的解决方案,但行业实践充其量只是临时的。
在MySQL中,创建表和字段时一定要填写注释字段。如果使用MySQL管理员,管理起来很方便,但对于开发者直接使用来说最有用。它可以作为其他类别读者扩展的基础。
I wish there were a standard solution, but industry practice is ad hoc at best.
In MySQL, be sure to fill in the comment fields when creating tables and fields. If you use MySQL administrator, it makes it easy to manage, but that's most useful for developers to directly use. It can be used as the basis for expansion for the other categories of readers.