[Dbix-class] Re: design issues : about database joins and multiple inheritance

A. Pagaltzis pagaltzis at gmx.de
Thu Feb 1 11:44:49 GMT 2007


* Dami Laurent (PJ) <laurent.dami at justice.ge.ch> [2007-02-01 08:30]:
> each row returned by that query will be blessed into a new
> class Music::AutoView::Cd_INNER_Track, created on the fly (if
> not already there), and which inherits from both classes Cd and
> Track. Multiple inheritance makes sense here because a row from
> that result set contains data from both tables (Cd and Track).

How do you handle joining a table to itself?

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Dbix-class mailing list