|
For testing my application I just wanted to empty an entire table for
every request to see if the initial data flows in correctly, so I
thought Model::delete(null) would do this for me, but it seems like it
doesn't. So I was looking all over the Model class and the DboSource
and I was unable to locate a function that would simply delete all
items of the table corresponding to the Model. So I'm really wondering if I'm just completely blind or if CakePHP could really be lacking a Model::deleteAll(...) function? I know I could use execute to do it, but it just seems like something useful to go in the Model. Am I missing something? If not I'll post a feature request on trac ... Best Regards, Felix Geisendörfer aka the_undefined --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- Moo.fx problems martin
- Re: Moo.fx problems Olivier Percebois-Garve
- Re: Moo.fx problems Olivier Percebois-Garve
- Delete multiple Rows / Empty Tabl... Felix Geisendörfer
- Re: Delete multiple Rows / Em... AD7six
- Re: Delete multiple Rows ... Larry E. Masters aka PhpNut
- Re: Delete multiple ... Felix Geisendörfer
- Re: Delete multi... John David Anderson (_psychic_)
- Re: Delete m... Felix Geisendörfer
- Re: Delete multi... Mika
- Re: Delete m... Felix Geisendörfer
- Re: Delete m... AD7six
- Re: Delete m... AD7six
- Re: Delete m... Larry E. Masters aka PhpNut
