On Jun 18, 2006, at 2:44 PM, Felix Geisendörfer wrote:

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

DELETE FROM `table` WHERE `date` > 'YYYY-MM-DD';

Is this what you're after? If so, this doesn't need to be inside of a  
loop or anything.

-- John


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