Handel::Schema::DBIC::Cart - DBIC schema class for the cart table
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::DBIC::Cart is loaded by Handel::Cart::Schema to read/write data to the cart table.
Contains the primary key for each cart record. By default, this is a uuid string.
id => { data_type => 'varchar', size => 36, is_nullable => 0, },
Contains the keys used to tie each cart to a specific shopper. By default, this is a uuid string.
shopper => { data_type => 'varchar', size => 36, is_nullable => 0, },
Contains the type for this shopping cart. The current values are CART_TYPE_TEMP and CART_TYPE_SAVED from Handel::Constants.
CART_TYPE_TEMP
CART_TYPE_SAVED
type => { data_type => 'tinyint', size => 3, is_nullable => 0, default_value => 0 },
Contains the name of the current cart.
name => { data_type => 'varchar', size => 50, is_nullable => 1, default_value => undef },
Contains the description of the current cart.
description => { data_type => 'varchar', size => 255, is_nullable => 1, default_value => undef }
Handel::Schema::DBIC::Cart::Item, DBIx::Class::Schema
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Handel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Handel
CPAN shell
perl -MCPAN -e shell install Handel
For more information on module installation, please visit the detailed CPAN module installation guide.