Mango::Schema::ProductAttribute - DBIC schema class for product attributes
use Mango::Schema; my $schema = Mango::Schema->connect; my $attributes = $schema->resultset('ProductAttributes')->search;
Mango::Schema::ProductAttribute is loaded by Mango::Schema to read/write product attribute data.
Contains the primary key for each attribute record.
id => { data_type => 'INT', is_auto_increment => 1, is_nullable => 0, extras => {unsigned => 1} },
The product id foreign key assigned to the attribute.
product_id => { data_type => 'INT', is_nullable => 0, is_foreign_key => 1, extras => {unsigned => 1} },
Contains the attribute name.
name => { data_type => 'VARCHAR', size => 25, is_nullable => 0 },
The value of the attribute.
value => { data_type => 'VARCHAR', size => 255, is_nullable => 0 },
When the attribute record was created.
created => { data_type => 'DATETIME', is_nullable => 0 },
When the attribute 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.