NAME
Handel::Schema::RDBO::Cart - RDBO schema class for the cart table
SYNOPSIS
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