Handel::Schema::RDBO::Cart - RDBO schema class for the cart table
use Handel::Schema::RDBO::Cart; use strict; use warnings; my $cart = Handel::Schema::RDBO::Cart->new(id => '12345678-9098-7654-3212-345678909876'); $cart->load;
Handel::Schema::RDBO::Cart is loaded by Handel::Storage::RDBO::Cart to read/write data to the cart table.
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},
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},
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 => {type => 'boolean', default => 0, not_null => 1},
Contains the name of the current cart.
name => {type => 'varchar', length => 50, not_null => 0},
Contains the description of the current cart.
description => {type => 'varchar', length => 255, not_null => 0}
Handel::Schema::RDBO::Cart::Item, Rose::DB::Object
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Handel::Storage::RDBO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Handel::Storage::RDBO
CPAN shell
perl -MCPAN -e shell install Handel::Storage::RDBO
For more information on module installation, please visit the detailed CPAN module installation guide.