> Does $this->Model->recursive = -1 work like $this->Model->unbind(...)
> in that it only affects the next query?

yes. In fact, for you purpose they do exactly the same thing. The
beauty of the unbindAll method is it enables you to unbindAll butSome
associations with one method, which if you have many setup can be very
handy, though you'd only use on find() or findAll() not find();

If you want to unbind all associations before any retrieval methods
(find() findAll() generateList()) you can also set recursive = -1;

hth

jon

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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