You don't get a conditional truncate. If you need conditions, you need to use delete. Truncate is only used for deleting ALL the data in the database (very quickly in some instanes).
See http://dev.mysql.com/doc/refman/5.0/en/truncate.html for the mysql truncate command. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
