Sorry, my question is stupid ..probably as I am ..
Left join can be only of a belongTo or HasOne ...not hasMany ..

However what is the best way when having 2 models link by a HasMany and
BelongsTo, and make a query into the first having condition on the
second ??
I know might seems weird bu from Model1 I'd like to query the records
that have none model2 associated, OR query the one that have at least
one model2 record...

I relaized the best would be to make the query from model2, but I have
different scenarios that I might need to query from model1 ..and would
like to "centralize" them ..

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to