Hi,

> Do I have to manually clear all involved tables?

Yes, AFAIK. But Jon will surely correct me.

> Is there a shortcut to clear all tables?

If I need to clear many tables, I usually iterate over all loaded models:

foreach (Doctrine::getLoadedModels() as $model)
{
  Doctrine::getTable($model)->clear();
}


Bernhard
--
Software Architect & Engineer
Blog: http://webmozarts.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to