IF Commons GitHub

sql/extensions/generators/diagrams

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0010-sql-generators FR-005

The diagrams (commons data 0010-sql-generators FR-005): an entity-relationship diagram in Mermaid and in D2, made of every table with each column's type and key marks and a relationship for each foreign key. A column that only a closed list of codes fills is an enum.

Source: commons/data/sql/extensions/generators/diagrams.ts

2 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

d2const
const d2: Generator

The D2 diagram: <domain>.erd.d2.

Imported by 9 tests of the run (9 passed, 0 failed): the library's results

mermaidconst
const mermaid: Generator

The Mermaid diagram: <domain>.erd.mmd.

Imported by 9 tests of the run (9 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.