Hello,

I have a parent model with several children (mostly hasmany
relationships, also 1 HABTM). Each child model could have several
hundred rows, so I am looking for an efficient and clean way to
duplicate all the child models. Ideally I want to end up being able to
do   Parent.duplicate()   and have all associated children also
duplicate themselves and associate with the new duplicated parent ID.
Anyone know of a good clean way to do this?

-Blake

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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