« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Order/ShippingLine.pm
↑ Summary
blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/ProductSearchEngine.pm »
| 1 | |||
| 2 | #!/usr/bin/perl | ||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | # This class is generated from DBIx.pm. Do not modify. | ||
| 6 | package WWW::Shopify::Model::DBIx::Schema::Result::Model::Product::Option; | ||
| 7 | 1 | ▶ | use base qw/DBIx::Class::Core/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | __PACKAGE__->load_components(qw/InflateColumn::DateTime/); | |
| 10 | |||
| 11 | 1 | __PACKAGE__->table('shopify_products_options'); | |
| 12 | 1 | __PACKAGE__->add_columns( | |
| 13 | "id", { data_type => 'BIGINT', is_nullable => '0' }, | ||
| 14 | "name", { data_type => 'TEXT', is_nullable => '1' }, | ||
| 15 | "position", { is_nullable => '1', data_type => 'INT' }, | ||
| 16 | "product_id", { data_type => 'BIGINT' } | ||
| 17 | ); | ||
| 18 | 1 | __PACKAGE__->set_primary_key('id'); | |
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | 1 | __PACKAGE__->belongs_to(product => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Product', 'product_id'); | |
| 25 | 0 | ▶ | sub represents { return 'WWW::Shopify::Model::Product::Option'; } |
|
Subroutine
represents: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 26 | 0 | ▶ | sub parent_variable { return 'product_id'; } |
|
Subroutine
parent_variable: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | |||
| 28 | 1 | 1; | |