> _deleteHasMany will loop through the preferences and delete each one. > This would be the recommended way of deleting preferences since it > would be done by the model.
HI, i've been looking at the API but I just don't see how I call _deleteHasMany? I do not want to cascade delete to child associations if I delete the master (in this case User). I want to delete ALL the rows on the many side of the relationship (in my case 'preferences') but the "one" side (the User) is not to be deleted. Hopefully this makes sense...thanks for your help so far and starting to make a bit of progress... Joel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---