数据库设计文档
数据库名:{{ dbName }}
序号 |
表名 |
说明 |
{% for x in rows %}
{{ x.index }} |
{{ x.tableName }} |
{{ x.table_comment }} |
{% endfor %}
{% for x in rowView %}
{{ x.index }} |
{{ x.tableName }} |
{{ x.table_comment }} |
{% endfor %}
{% for x in rows %}
说明:{{ x.table_comment }}
数据列:
序号 |
名称 |
数据类型 |
长度 |
小数位 |
允许空值 |
主键 |
默认值 |
说明 |
{% for z in x.fields %}
{{ z.ORDINAL_POSITION }} |
{{ z.column_name }} |
{{ z.DATA_TYPE }} |
{{ z.CHARACTER_MAXIMUM_LENGTH }} |
{{ z.numeric_scale }} |
{{ z.IS_NULLABLE }} |
{{ z.COLUMN_KEY }} |
{{ z.COLUMN_DEFAULT }} |
{{ z.COLUMN_COMMENT }} |
{% endfor %}
{% endfor %}
{% for x in rowView %}
说明:{{ x.table_comment }}
数据列:
序号 |
名称 |
数据类型 |
长度 |
小数位 |
允许空值 |
主键 |
默认值 |
说明 |
{% for z in x.fields %}
{{ z.ORDINAL_POSITION }} |
{{ z.column_name }} |
{{ z.DATA_TYPE }} |
{{ z.CHARACTER_MAXIMUM_LENGTH }} |
{{ z.numeric_scale }} |
{{ z.IS_NULLABLE }} |
{{ z.COLUMN_KEY }} |
{{ z.COLUMN_DEFAULT }} |
{{ z.COLUMN_COMMENT }} |
{% endfor %}
{% endfor %}