官术网_书友最值得收藏!

Documentation

Documentation is essential for developers, as well as business owners, to understand the full picture. Documentation for the database schema, objects, and code should be maintained. ER and class diagrams are very useful in understanding the full picture. There are tons of programs that support UML and ER diagrams. You can generate ER and UML diagrams by using graph-editing tools, such as yEd, or an online tool, such as draw.io. Also, there are many commercial UML modeling tools that support reverse-engineering code.

Code documentation provides an insight into complex SQL statements. PostgreSQL uses -- and /**/ for single-line and multiline comments, respectively. The single-line comment, --, works on the rest of the line after the comment marker. Therefore, it can be used on the same line as the actual statement. Finally, PostgreSQL allows the developer to store the database object description via the COMMENT ON command.

主站蜘蛛池模板: 凤城市| 湖北省| 栾城县| 临颍县| 麻江县| 关岭| 乐业县| 襄垣县| 麻江县| 商水县| 金寨县| 漳浦县| 沙河市| 赤城县| 荥经县| 沿河| 禹城市| 微山县| 平利县| 蚌埠市| 江都市| 荔浦县| 芜湖市| 荃湾区| 漾濞| 祁阳县| 博野县| 常熟市| 麟游县| 鞍山市| 太谷县| 大同县| 来安县| 文山县| 安泽县| 丰县| 凌云县| 康马县| 辽阳市| 商丘市| 汝南县|