Caveats Tips and Tricks, a preread you won't regret!

Setting it up

Going for the many-to-many

__PACKAGE__->has_many( 'accessor name' => 'table schema of m2m', 'fkey on link table' ); __PACKAGE__->many_to_many( 'accessor name' => 'name of has_many accessor', 'belongs_to column on m2m table' ) __PACKAGE__->belongs_to( 'accessor name && column name' => 'package of relationship refering to the accessor name' ) ->search({ where clause } { join clause} )


Evan Carroll
www.EvanCarroll.com