SQL::Tr...::DiaUml(3)
π NAME π
okay so the top of this page literally says SQL::Tr...::DiaUml(3), and it's filed under User Contributed Perl Documentation. The manual name is SQL::Tr...::DiaUml(3) (yes, with the little ... in the middle, iykyk). The name line is: Produces dia UML diagrams from schema. periodt. π
β¨ SYNOPSIS β¨
bestie, here's the whole vibe in code, exactly how the page shows it:
use SQL::Translator;
my $translator = SQL::Translator->new(
from => 'MySQL',
filename => 'foo_schema.sql',
to => 'DiaUml',
);
print $translator->translate;
π¦ DESCRIPTION π¦
Currently you get one class per table in the schema, and each class gets a table stereotype (the original literally says βwith the a table stereotypeβ β iconic little typo moment, but the meaning is clear). The fields are added as attributes of the classes and their datatypes set.
π¨ heads up: it does not currently set any of the relationships. Not one. π
β οΈ and no layout either β it doesn't do any layout, so all the classes are in one big stack.
But it's still useful, fr fr: you can use the layout tools in Dia to automatically arrange them horizontally or vertically. slay. β¨
π Producer Args π
This section is in the original and it is empty β literally zero producer args listed, so no cap, I'm not inventing any. π
π AUTHOR π
Mark Addison β grommit@users.sourceforge.net.
π TODO π
The future-era list, directly from the page:
- Add the foreign keys from the schema as UML relations.
- Layout the classes.
πΈ SEE ALSO πΈ
SQL::Translator.
mwah π signed off by SQL::Tr...::DiaUml(3), shipped with perl v5.42.0, dated 2024-12-12 β periodt. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-SQL-Translator 1.660.0-bp160.1.11 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms