]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - Schema/Artwork_to_Artist.pm
1 package # hide from PAUSE
2 DBICTest
::Schema
::Artwork_to_Artist
;
4 use base qw
/DBIx::Class::Core/;
6 __PACKAGE__-
>table('artwork_to_artist');
7 __PACKAGE__-
>add_columns(
9 data_type
=> 'integer',
13 data_type
=> 'integer',
17 __PACKAGE__-
>set_primary_key(qw
/artwork_cd_id artist_id/);
18 __PACKAGE__-
>belongs_to('artwork', 'DBICTest::Schema::Artwork', 'artwork_cd_id');
19 __PACKAGE__-
>belongs_to('artist', 'DBICTest::Schema::Artist', 'artist_id');
21 __PACKAGE__-
>resultset_class( __PACKAGE__
. '::ResultSet');
23 package DBICTest
::Schema
::Artwork_to_Artist
::ResultSet
;
25 use base
qw( DBIx::Class::ResultSet::RecursiveUpdate );
This page took 0.048104 seconds and 4 git commands to generate.