[Dbix-class] how to find rows that have 0 many-to-many rel's

Daniel McBrearty danielmcbrearty at gmail.com
Thu Jun 21 09:09:40 GMT 2007


Hi

If I have two tables, say A and B,  that have a many-to-many
relationship, implemented in the usual way with a join table A_B - how
can I economically find rows in table A whose id's are not in A_B at
all (i.e. they have zero instances of B associated)?

Thanks

Daniel

-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com
danmcb.vox.com
danmcb.blogger.com
BTW : 0873928131



More information about the Dbix-class mailing list