[Dbix-class] missing 'many-to-many' relationship

Len Jaffe lenjaffe at jaffesystems.com
Wed Aug 4 17:54:06 GMT 2010


On Wed, Aug 4, 2010 at 1:04 PM, fREW Schmidt <frioux at gmail.com> wrote:

>
> Anyone wanna chime in on why m2m isn't a real rel?
>

Because an m2m relationship is an model of two one-to-many relationships
which share a table.

I expect that related_resultset() could be made to handle m2m relationships
with a little elbow grease to help it traverse the second relation.

Len.


-- =

lenjaffe at jaffesystems.com   614-404-4214
Scoutmaster Troop 156 - www.bsatroop156.org
Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100804/d77=
dbdf0/attachment-0001.htm


More information about the DBIx-Class mailing list