[Maypole] many to many relationships
Marcus Ramberg
marcus@thefeed.no
Mon, 07 Jun 2004 15:03:35 +0200
The relationship bit of cdbi has changed in 0.60 of Class::DBI . Search
the list for 'proper related function' to find a patch.
Marcus
Carsten Øland Madsen wrote:
> Sorry, I was to fast on the trigger
>
> Doing
>
> package BeerDB::Pub;
>
> sub related { "beers" }
>
> return 1;
>
> and
>
>
> package BeerDB::Beer;
> sub related { "pubs" }
> return 1;
>
> Does work, i.e., pubs are listed when a beer is viewed etc.
>
> Now how do I add beers to pubs?
>
--
This e-mail has been protected by Song Networks' virus-scan service:
http://www.securemail.no