|
You mean conditional/truncate deletes are only needed for testing? I
could think of a couple of non-testing situations, that would need this
functionality, like deleting all items older then a certain date. Well
you could do a findAll, loop through the results, and then do a
Model::delete() on all of those, but that just doesn't seem like a very
RAD thing to me and creates more database queries then necessary for
non-cascading ($cascade = false) deletes. But well. if you say it's not going to be included, I can life with that. Larry E. Masters aka PhpNut schrieb: To save you the trouble of writing a ticket: --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- Re: Delete multiple Rows / Empty Table? Felix Geisendörfer
- Re: Delete multiple Rows / Empty Tabl... John David Anderson (_psychic_)
- Re: Delete multiple Rows / Empty ... Felix Geisendörfer
- Re: Delete multiple Rows / Empty Tabl... Mika
- Re: Delete multiple Rows / Empty ... Felix Geisendörfer
- Re: Delete multiple Rows / Em... AD7six
- Re: Delete multiple Rows ... AD7six
- Re: Delete multiple Rows ... Larry E. Masters aka PhpNut
- Re: Delete multiple ... AD7six
