1SQL::Translator::ProducUesre(r3)Contributed Perl DocumenStQaLt:i:oTnranslator::Producer(3)
2
3
4

NAME

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

DESCRIPTION

9       Producer modules designed to be used with SQL::Translator need to
10       implement a single function, called produce.  produce will be called
11       with the SQL::Translator object from which it is expected to retrieve
12       the SQL::Translator::Schema object which has been populated by the
13       parser.  It is expected to return a string.
14

METHODS

16       produce
17       create_table($table)
18       create_field($field)
19       create_view($view)
20       create_index($index)
21       create_constraint($constraint)
22       create_trigger($trigger)
23       alter_field($from_field, $to_field)
24       add_field($table, $new_field)
25       drop_field($table, $old_field)
26

AUTHORS

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

SEE ALSO

31       perl(1), SQL::Translator, SQL::Translator::Schema.
32
33
34
35perl v5.34.0                      2021-07-22      SQL::Translator::Producer(3)
Impressum