On Fri, Sep 26, 2008 at 3:21 PM, . <[EMAIL PROTECTED]> wrote:
> how would i delete 2 (or more) rows in one statement knowing the id of the
> rows i want to delete?
>
> let's say i want to delete id 1 and 2:
>
> $this->Model->deleteAll('id'=>array(1,2))Should work... try it out and let us know Tarique -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
