5 use base
qw(DB::Object);
7 use Rose
::Object
::MakeMethods
::Generic
(
8 scalar => [ qw
/ count / ] );
10 use Common
::RDBO
::Helpers
':all';
12 __PACKAGE__
->meta->setup(
15 columns
=> [ qw
/ id name / ],
17 primary_key_columns
=> [ 'id' ],
23 type
=> 'one to many',
24 class => 'PostTagMap',
25 column_map
=> { id
=> 'tag_id' }
28 type
=> 'many to many',
29 map_class
=> 'PostTagMap',
42 This library is free software, you can redistribute it and/or modify
43 it under the same terms as Perl itself.