The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mango::Schema - Schema class for Mango

SYNOPSIS

    use Mango::Schema;
    my $schema = Mango::Schema->connect;
    my $roles = $schema->resultset('Roles')->search;

DESCRIPTION

Mango::Schema is the schema classes used to interact with the database.

METHODS

connect

Arguments: $dsn, $user, $password, \%attr

Creates a new schema instance and uses Mango::Exception to catch all db related errors.

AUTHOR

    Christopher H. Laco
    CPAN ID: CLACO
    claco@chrislaco.com
    http://today.icantfocus.com/blog/