From: Jess Robinson Date: Wed, 7 Jun 2006 16:28:59 +0000 (+0000) Subject: Document producer methods X-Git-Tag: v0.11008~430 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0e1ec14fea97568b55c3cf7539ad6a31dfca9086;p=dbsrgits%2FSQL-Translator.git Document producer methods --- diff --git a/lib/SQL/Translator/Producer.pm b/lib/SQL/Translator/Producer.pm index 521a986..1b2baf2 100644 --- a/lib/SQL/Translator/Producer.pm +++ b/lib/SQL/Translator/Producer.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer; # ------------------------------------------------------------------- -# $Id: Producer.pm,v 1.7 2004-02-09 23:04:26 kycl4rk Exp $ +# $Id: Producer.pm,v 1.8 2006-06-07 16:28:59 schiffbruechige Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002-4 SQLFairy Authors # @@ -22,7 +22,7 @@ package SQL::Translator::Producer; use strict; use vars qw($VERSION); -$VERSION = sprintf "%d.%02d", q$Revision: 1.7 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.8 $ =~ /(\d+)\.(\d+)/; sub produce { "" } @@ -47,6 +47,30 @@ called with the SQL::Translator object from which it is expected to retrieve the SQL::Translator::Schema object which has been populated by the parser. It is expected to return a string. +=head1 METHODS + +=over 4 + +=item produce + +=item create_table($table) + +=item create_field($field) + +=item create_view($view) + +=item create_index($index) + +=item create_constraint($constraint) + +=item create_trigger($trigger) + +=item alter_field($from_field, $to_field) + +=item add_field($table, $new_field) + +=item drop_field($table, $old_field) + =head1 AUTHORS Darren Chamberlain Edarren@cpan.orgE,