SQL::Translator::Producer(3pm)

SQL::Translator::Producer3pm

Describes how to write a producer

Overview

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)

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

Authors

Darren Chamberlain <[email protected]>, Ken Y. Clark <[email protected]>.

From libsql-translator-perl 1.66-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.