5 use base
qw(DB::Object);
7 __PACKAGE__
->meta->setup(
11 qw
/ id artist_id title /
14 primary_key_columns
=> [ qw
/ id / ],
20 class => 'RDBO::Artist',
21 key_columns
=> { artist_id
=> 'id' },
29 type
=> 'many to one',
30 class => 'RDBO::Artist',
31 column_map
=> { artist_id
=> 'id' },
38 sub active_column
{ 'title' }
46 This library is free software, you can redistribute it and/or modify
47 it under the same terms as Perl itself.