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


Handel documentation  | view source Contained in the Handel distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    package MySchema;
    use strict;
    use warnings;
    use base qw/Handel::Schema/;

    __PACKAGE__->load_classes(qw//, {'MySchema' => [qw/TableClass OtherTableClass/]});

DESCRIPTION

Top

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

Top

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

Top

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

AUTHOR

Top

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



Handel documentation  | view source Contained in the Handel distribution.