SQL::Translator::Producer::GraphViz 0.07 review
DownloadSQL::Translator::Producer::GraphViz is a GraphViz producer for SQL::Translator. SYNOPSIS use SQL::Translator; my $trans
|
|
SQL::Translator::Producer::GraphViz is a GraphViz producer for SQL::Translator.
SYNOPSIS
use SQL::Translator;
my $trans = new SQL::Translator(
from => 'MySQL', # or your db of choice
to => 'GraphViz',
producer_args => {
out_file => 'schema.png',
add_color => 1,
show_constraints => 1,
show_datatypes => 1,
show_col_sizes => 1
}
) or die SQL::Translator->error;
$trans->translate or die $trans->error;
Creates a graph of a schema using the amazing graphviz (see http://www.graphviz.org/) application (via the GraphViz module). It's nifty--you should try it!
Requirements:
Perl
SQL::Translator::Producer::GraphViz 0.07 search tags