[Catalyst-commits] r12350 -
trunk/examples/CatalystAdvent/root/2009/pen
hbrandenburg at dev.catalyst.perl.org
hbrandenburg at dev.catalyst.perl.org
Sun Dec 13 18:38:22 GMT 2009
Author: hbrandenburg
Date: 2009-12-13 18:38:22 +0000 (Sun, 13 Dec 2009)
New Revision: 12350
Modified:
trunk/examples/CatalystAdvent/root/2009/pen/asgraph.pod
Log:
added filename parameter to first code example's translate()
Modified: trunk/examples/CatalystAdvent/root/2009/pen/asgraph.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2009/pen/asgraph.pod 2009-12-13 17:51:31 UTC (rev 12349)
+++ trunk/examples/CatalystAdvent/root/2009/pen/asgraph.pod 2009-12-13 18:38:22 UTC (rev 12350)
@@ -14,7 +14,7 @@
The amazing L<SQL::Translator|http://search.cpan.org/perldoc?SQL::Translator>
module can easily show you what your application's Schema looks like
-directly from your database - be it MySQL, Oracle, PostreSQL, SQLite,
+directly from your database schema - be it MySQL, Oracle, PostreSQL, SQLite,
or any of the several other database parsers available. Just specify
it in the 'from' field, while choosing 'GraphViz' as destination.
@@ -25,7 +25,7 @@
to => 'GraphViz',
) or die SQL::Translator->error;
- $translator->translate;
+ $translator->translate( 'MySchema.sql' );
If you are using Catalyst with the ever popular DBIx::Class (DBIC) and
would rather fetch database information from the schema modules,
More information about the Catalyst-commits
mailing list