Thx for the tip, but how would you handle that in a version before
1.2 ... because i am kinda reluctant to jump right ahead and use it on
my production server as it's still in alpha ..

On Oct 14, 12:50 am, nate <[EMAIL PROTECTED]> wrote:
> Cake 1.2:
>
> $this->Model->deleteAll(array('Model.id' => array(1, 2, 3)));
>
> On Oct 13, 1:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
> > hey everybody , got a question ...
>
> > How can you delete in one sql query multiple rows from a table,
> > something like "delete from table where id in (1, 2, 3)"
> > Cuz it would be quite crappy if you have 100 000 rows to delete from
> > one single table, and fo rthis you owuld have to send 100 000 queries
> > to the sql server ...
>
> > Thx a lot!- Hide quoted text -
>
> - Show quoted text -


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