On 5/28/07, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]> wrote:
>
> I'm getting so many queries in index action of controller, say for a
> typical blog project with categories, comments and tags, I'm getting
> so many queries in blogs/index which is having
> $this->Blog->recursive = 0;
> $this->set('blogs', $this->paginate());
>This is normal behaviour, and is required for Cake's Models to do their associative data mapping magic. Perhaps there needs to be a better explanation somewhere about how the data mapping works and why those queries do appear? Sounds like a topic for a screencast.... -- Chris Hartjes My motto for 2007: "Just build it, damnit!" @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
