NAME
Mango::Schema::Cart - DBIC schema class for carts
SYNOPSIS
use Mango::Schema;
my $schema = Mango::Schema->connect;
my $carts = $schema->resultset('Carts')->search;
DESCRIPTION
Mango::Schema::Cart is loaded by Mango::Schema to read/write cart data.
COLUMNS
id
Contains the primary key for each cart record.
id => {
data_type => 'INT',
is_auto_increment => 1,
is_nullable => 0,
extras => {unsigned => 1}
},
user_id
Contains the foreign key to the user this cart belongs to.
user_id => {
data_type => 'INT',
is_nullable => 1,
is_foreign_key => 1,
extras => {unsigned => 1}
},
created
When the cart record was created.
created => {
data_type => 'DATETIME',
is_nullable => 0
},
updated
When the cart record was updated.
updated => {
data_type => 'DATETIME',
is_nullable => 0
}
AUTHOR
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/