Mango::Schema::Cart - DBIC schema class for carts
use Mango::Schema; my $schema = Mango::Schema->connect; my $carts = $schema->resultset('Carts')->search;
Mango::Schema::Cart is loaded by Mango::Schema to read/write cart data.
Contains the primary key for each cart record.
id => { data_type => 'INT', is_auto_increment => 1, is_nullable => 0, extras => {unsigned => 1} },
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} },
When the cart record was created.
created => { data_type => 'DATETIME', is_nullable => 0 },
When the cart record was updated.
updated => { data_type => 'DATETIME', is_nullable => 0 }
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.