blx::xsdsql::generator::sql::generic::handle - generic handles for generator
use blx::xsdsql::generator::sql::generic::handle
this package is a class - instance it with the method new
this module defined the followed functions
new - constructor
PARAMS: FD => streamer class, file descriptor , array or string (default *STDOUT)
get_binding_objects - abstract method, return an array of objects binding to the command
header - emit on FD the header lines
the first argument is a table object generate from blx::xsdsql::parser::parse
footer - emit on FD the footer lines
first_pass - emit on FD the lines at first pass
table_header - emit on FD the table header (for example the 'create table' )
table_footer- emit on FD the table footer (for example the ')' in create table)
column - emit on FD the column line (for example the line column_name column_type in create table)
the first argument is a column object generate from blx::xsdsql::parser::parse
last_pass - emit on FD the lines at last pass
put_comment - put a comment into sql format
the first argument is a catalog object or a child object of this
get_streamer - return the output streamer object
None by default.
None
See blx:.xsdsql::generator for generate the schema of the database
lorenzo.bellotti, <pauseblx@gmail.com>
Copyright (C) 2010 by lorenzo.bellotti
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install blx::xsdsql::ut, copy and paste the appropriate command in to your terminal.
cpanm
cpanm blx::xsdsql::ut
CPAN shell
perl -MCPAN -e shell install blx::xsdsql::ut
For more information on module installation, please visit the detailed CPAN module installation guide.