On Wed, Aug 20, 2008 at 5:51 PM, seth <[EMAIL PROTECTED]> wrote:
>
>
>> > Right, but how many inserts does this perform?
>>
>> - As many inserts as required
>>
>
> Yes, but my whole point is that if you are inserting 1000 questions,
> this could be done in 2 interests or 1001... Is cake currently smart
> enough to do it in 2?

If you set debug in config/core.php to 1 or greater you can see this
for yourself.  You'll see all the SQL calls.

Or, if you're feeling really adventurous, you could actually build the
damn thing and see if it matters.  I'm willing to bet that it won't
matter to your application's performance whether it's 2 or 1000.  If
it *does* matter, then congratulations are in order because you've
built an application with more users than 99% of CakePHP apps out
there and you will have other problems not related to Cake to worry
about.

-- 
Chris Hartjes
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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