Hi all,
I'm new to the Cake framework but not to PHP.

I apologise in advance for asking any dumbo questions if this is an
advanced group etc.

My simple question is this....

I have a test Cake web app with two models - User and Preference - a
user has many preferences.

What is the Cake way of deleting all the prefences for a User (but not
the User itself) without having to loop over all the users prefences
and call DELETE on the Preference model?

...hopefully this makes some kind of sense!

Joel


--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to