Take a look at this piece of code:

http://bakery.cakephp.org/articles/view/185

It can help you reduce the number of generated queries.

-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: Jueves, 21 de Diciembre de 2006 04:44 p.m.
Para: Cake PHP
Asunto: Re: does cake not join tables when using hasMany?


ah, thanks for the reply.  using the fake hasOne relationship worked.
but, the page still performs a *ton* of sql queries.  is ther any way
of limiting this?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to