NAME
Handel::Schema::RDBO::Cart - RDBO schema class for the cart table
SYNOPSIS
use Handel::Schema::RDBO::Cart;
use strict;
use warnings;
my $cart = Handel::Schema::RDBO::Cart->new(id => '12345678-9098-7654-3212-345678909876');
$cart->load;
DESCRIPTION
Handel::Schema::RDBO::Cart is loaded by Handel::Storage::RDBO::Cart to read/write data to the cart table.
COLUMNS
id
Contains the primary key for each cart record. By default, this is a uuid string.
id => {type => 'varchar', primary_key => 1, length => 36, not_null => 1},
shopper
Contains the keys used to tie each cart to a specific shopper. By default, this is a uuid string.
shopper => {type => 'varchar', length => 36, not_null => 1},
type
Contains the type for this shopping cart. The current values are CART_TYPE_TEMP
and CART_TYPE_SAVED
from Handel::Constants.
type => {type => 'boolean', default => 0, not_null => 1},
name
Contains the name of the current cart.
name => {type => 'varchar', length => 50, not_null => 0},
description
Contains the description of the current cart.
description => {type => 'varchar', length => 255, not_null => 0}
SEE ALSO
Handel::Schema::RDBO::Cart::Item, Rose::DB::Object
AUTHOR
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/