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:

It will not be added.
A database is for storing persistent data, and majority of the time is not deleted. Testing should be done with the test suite and then you should use the startUp and tearDown to create and delete your database/data

--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/




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

Reply via email to