| Handel documentation | Contained in the Handel distribution. |
Handel::Cart::Schema - Default Schema class for Handel::Cart
use Handel::Cart::Schema;
use strict;
use warnings;
my $schema = Handel::Cart::Schema->connect;
my $cart = $schema->resultset("Carts")->find('12345678-9098-7654-3212-345678909876');
Handel::Schema::Cart is the default schema class used for all reading/writing in Handel::Cart.
Handel::Schema::Cart, Handel::Schema::Cart::Item, DBIx::Class::Schema
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/
| Handel documentation | Contained in the Handel distribution. |
# $Id$ package Handel::Cart::Schema; use strict; use warnings; BEGIN { use base qw/Handel::Schema/; }; __PACKAGE__->load_classes(qw//, {'Handel::Schema::DBIC' => [qw/Cart Cart::Item/]}); 1; __END__