Alzabo::Schema - Schema objects
use Alzabo::Schema; my $schema = Alzabo::Schema->load_from_file('foo'); foreach my $t ($schema->tables) { print $t->name; }
Objects in this class represent the entire schema, containing table objects, which in turn contain foreign key objects and column objects, which in turn contain column definition objects.
name
Returns the name of the schema.
table ($name)
Given a table name, it returns an object representing the table.
Exceptions:
AlzaboException - Table doesn't exist in the schema.
tables
Returns all the table objects in this schema
driver
Returns the Alzabo::Driver object for the schema.
Dave Rolsky, <autarch@urth.org>
To install Alzabo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alzabo
CPAN shell
perl -MCPAN -e shell install Alzabo
For more information on module installation, please visit the detailed CPAN module installation guide.