{% load format_tags %}
{{ db_name }} 数据字典 (共 {{ tables|length }} 个表)
生成时间:{{ export_time }}
{% for tb in tables %}
表名:{{ tb.TABLE_INFO.TABLE_NAME }}
注释:{{ tb.TABLE_INFO.TABLE_COMMENT }}
{% for key_dict in tb.ENGINE_KEYS %}
{{ key_dict.value }}
{% endfor %}
{% for col in tb.COLUMNS %}
{% for key_dict in tb.ENGINE_KEYS %}
{{ col|key_value:key_dict.key }}
{% endfor %}
{% endfor %}
{% endfor %}