]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - CollectionObject.pm
d05ae5d0bb4f11bdd61e6b4fe90158dc159cbbc3
1 package # hide from PAUSE
2 DBICTest
::Schema
::CollectionObject
;
4 use base qw
/DBIx::Class::Core/;
6 __PACKAGE__-
>table('collection_object');
7 __PACKAGE__-
>add_columns(
9 data_type
=> 'integer',
12 data_type
=> 'integer',
15 __PACKAGE__-
>set_primary_key(qw
/collection object/);
17 __PACKAGE__-
>belongs_to( collection
=> "DBICTest::Schema::Collection",
18 { "foreign.collectionid" => "self.collection" }
20 __PACKAGE__-
>belongs_to( object
=> "DBICTest::Schema::TypedObject",
21 { "foreign.objectid" => "self.object" }
This page took 0.031944 seconds and 3 git commands to generate.