[Dbix-class] many_to_many

Lee Goddard Lee.Goddard at bbc.co.uk
Tue Sep 5 15:16:47 CEST 2006


> __PACKAGE__->has_many(
>    $relationship_name, $foreign_class, $id_in_this_class_if_not_pk );
> 
> __PACKAGE__->many_to_many(
>    $many_many_name, $has_many_name,
> $belongs_to_from_the_has_many_to_the_other_side_name
> );

Ahhh! That makes sense! And thanks for the very fast response: spent all
morning getting upset over this!

Cheers,
Lee

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.





More information about the Dbix-class mailing list