clone_with_relation_recursive
Posted: Tue Jun 28, 2016 3:07 pm
Is there a way I could go about implementing a function that extends the existing qx::clone in a recursive nature? Like save_with_relation_recursive but clone_with_relation_recursive?
I feel like all of the relationships are mapped out well enough that this could be implemented in an elegant and recursive nature. This is of course assuming that all of the keys are integers and the database does all the counting...
Curious if anyone has thought about this...
Thanks!
I feel like all of the relationships are mapped out well enough that this could be implemented in an elegant and recursive nature. This is of course assuming that all of the keys are integers and the database does all the counting...
Curious if anyone has thought about this...
Thanks!