Alzabo::Schema - Schema objects
use base qw(Alzabo::Schema);
This is the base class for schema objects..
Returns a string containing the name of the schema.
Returns an Alzabo::Table object representing the specified table.
Alzabo::Table
An Alzabo::Exception::Params exception is throws if the schema does not contain the table.
Alzabo::Exception::Params
If no arguments are given, this method returns a list of all Alzabo::Table objects in the schema, or in a scalar context the number of such tables. If one or more arguments are given, returns a list of table objects with those names, in the same order given (or the number of such tables in a scalar context, but this isn't terribly useful).
An Alzabo::Exception::Params exception is throws if the schema does not contain one or more of the specified tables.
Returns a boolean value indicating whether the table exists in the schema.
Starts a transaction. Calls to this function may be nested and it will be handled properly.
Rollback a transaction.
Finishes a transaction with a commit. If you make multiple calls to begin_work(), make sure to call this method the same number of times.
begin_work()
This method takes a subroutine reference and wraps it in a transaction.
It will preserve the context of the caller and returns whatever the wrapped code would have returned.
Returns the Alzabo::Driver object for the schema.
Alzabo::Driver
Returns the Alzabo::RDBMSRules object for the schema.
Alzabo::RDBMSRules
Returns the Alzabo::SQLMaker object for the schema.
Alzabo::SQLMaker
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.