NAME

Handel::Schema - Base class for cart/order schemas

SYNOPSIS

    package MySchema;
    use strict;
    use warnings;
    use base qw/Handel::Schema/;
    
    __PACKAGE__->load_classes(qw//, {'MySchema' => [qw/TableClass OtherTableClass/]});

DESCRIPTION

Handel::Schema is the base class for the cart/order schemas. If you want to create your own cart or order schema, simply subclass Handel::Schema and load your classes.

METHODS

connect

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

Establishes a connection to the database and returns a new schema instance. If no connection information is supplied, the connection information will be read from ENV or ModPerl using the configuration options available in the specified config_class. By default, this will be Handel::ConfigReader.

SEE ALSO

Handel::ConfigReader, DBIx::Class::Schema

AUTHOR

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