Hi, I have a need to clone persistent objects. I'd like to take an existing object, copy everything except the primary key, so it gets a new key when flushed to the database. As a slight twist, I want this to be a deep copy - copying related objects as well.
I don't think Elixir has much support for this (correct me if I'm wrong). I have some fairly hacky code to do this; if there's interest, I'd be happy to tidy it up and produce a patch. Good idea? Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
