Arthur Axel "fREW" Schmidt > SQL-Translator-0.11015 > SQL::Translator::Producer

Download:
SQL-Translator-0.11015.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  61
Open  23
View/Report Bugs
Module Version: 1.59   Source   Latest Release: SQL-Translator-0.11018

NAME ^

SQL::Translator::Producer - describes how to write a producer

DESCRIPTION ^

Producer modules designed to be used with SQL::Translator need to implement a single function, called produce. produce will be 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.

METHODS ^

produce
create_table($table)
create_field($field)
create_view($view)
create_index($index)
create_constraint($constraint)
create_trigger($trigger)
alter_field($from_field, $to_field)
add_field($table, $new_field)
drop_field($table, $old_field)

AUTHORS ^

Darren Chamberlain <darren@cpan.org>, Ken Y. Clark <kclark@cpan.org>.

SEE ALSO ^

perl(1), SQL::Translator, SQL::Translator::Schema.

syntax highlighting: