Debug the SQL sentences CakePHP runs and you'll see the magic of LEFT JOIN ;)
-MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -----Mensaje original----- De: [email protected] [mailto:[EMAIL PROTECTED] En nombre de [EMAIL PROTECTED] Enviado el: Viernes, 01 de Diciembre de 2006 02:37 p.m. Para: Cake PHP Asunto: Re: Cake is breaking database views. This looks like a bug. So if I have a 3 table hierarchy (group->person->family) and I am doing a query for 10 groups with 100 people each, would that turn into 2000 queries! (or is cake smart enough to join them all? - I'm about to find out I think) --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
