Parse::Dia::SQL(3pm) | User Contributed Perl Documentation | Parse::Dia::SQL(3pm) |
Parse::Dia::SQL - Convert Dia class diagrams into SQL.
use Parse::Dia::SQL; my $dia = Parse::Dia::SQL->new( file => 't/data/TestERD.dia', db => 'db2' ); print $dia->get_sql(); # or command-line version perl parsediasql --file t/data/TestERD.dia --db db2
Dia is a diagram creation program for Linux, Unix and Windows released under the GNU General Public License.
Parse::Dia::SQL converts Dia class diagrams into SQL.
Parse::Dia::SQL is the parser that interprets the .dia file(s) into an internal datastructure.
Parse::Dia::SQL::Output (or one of its sub classes) can take the datastructure and generate the SQL statements it represents.
See <http://tedia2sql.tigris.org/usingtedia2sql.html>
Parse::Dia::SQL has been tested with Dia versions 0.93 - 0.97.
Parse::Dia::SQL uses the XML "version" tag information in the .dia input file to determine how each XML construct is formatted. Future versions of Dia may change the internal format, and XML "version" tag is used to detect such changes.
The following databases are supported:
Adding support for additional databases means to create a subclass of Parse::Dia::SQL::Output.
Patches are welcome.
Parse::Dia::SQL is based on tedia2sql by Tim Ellis and others. See the AUTHORS file for details.
Modified by Andreas Faafeng, "<aff at cpan.org>" for release on CPAN.
Please report any bugs or feature requests to "bug-parse-dia-sql at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parse-Dia-SQL>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Parse::Dia::SQL
You can also look for information at:
Documentation and public source code repository:
<http://tedia2sql.tigris.org/>
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Parse-Dia-SQL>
<http://annocpan.org/dist/Parse-Dia-SQL>
<http://cpanratings.perl.org/d/Parse-Dia-SQL>
<http://search.cpan.org/dist/Parse-Dia-SQL>
See the AUTHORS file.
This program is released under the GNU General Public License.
By database we mean relational database management system (RDBMS).
2022-11-19 | perl v5.36.0 |