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

  • Learning PostgreSQL 11
  • Salahaldin Juba Andrey Volkov
  • 148字
  • 2021-07-02 13:11:47

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.

主站蜘蛛池模板: 遂宁市| 包头市| 化隆| 桃源县| 舞阳县| 苏州市| 阿荣旗| 定西市| 延川县| 宝兴县| 天峨县| 德兴市| 双鸭山市| 福建省| 崇文区| 施甸县| 周宁县| 雷波县| 汝州市| 黔南| 菏泽市| 定结县| 建德市| 册亨县| 铜鼓县| 应用必备| 汕头市| 庆阳市| 象山县| 德庆县| 平乡县| 内乡县| 广饶县| 石渠县| 崇礼县| 营口市| 上虞市| 德化县| 奉新县| 广东省| 荔浦县|