workbench-en.a4
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Customizing DBDoc Model Reporting Templates<br />
| MySQL Workb<strong>en</strong>ch Custom Report |<br />
+--------------------------------------------+<br />
Total number of Schemata: {{SCHEMA_COUNT}}<br />
=============================================<br />
{{#SCHEMATA}}<br />
Schema Name: {{SCHEMA_NAME}}<br />
----------------------------------------------<br />
## Tables ({{TABLE_COUNT}}) ##<br />
{{#TABLES}}<br />
Table Name: {{TABLE_NAME}}<br />
{{/TABLES}}<br />
{{/SCHEMATA}}<br />
Report G<strong>en</strong>erated On: {{GENERATED}}<br />
=============================================<br />
End of MySQL Workb<strong>en</strong>ch Custom Report<br />
This simplified report just lists the schemata and the tables in a model. The date and time the report was g<strong>en</strong>erated will also be<br />
displayed as a result of the use of the {{GENERATED}} variable.<br />
9. The custom template can th<strong>en</strong> be tested. Start MySQL Workb<strong>en</strong>ch, load the model to g<strong>en</strong>erate the report for, select the<br />
MODEL, DBDOC - MODEL REPORTING m<strong>en</strong>u item. Th<strong>en</strong> select the new custom template from the list of available templates,<br />
select an output directory and th<strong>en</strong> click FINISH to g<strong>en</strong>erate the report. Finally, navigate to the output directory to view the finished<br />
report.<br />
81