OK, thank you very much !
Le vendredi 22 juin 2018 20:10:53 UTC+3, Mike Bayer a écrit :
>
> Just use literal_column for now , that is the clearest statement of
> intention , I'll try to find time to look at the code to see if there's
> some flag I'm forgetting
>
> On Fri, Jun 22, 2018, 3:08 AM
Then I'm not understanding the question, or at least why make_transient is
not working for you. make_transient just sets the state of the existing
object to be a new row, essentially. No new self is created (unless I am
seriously forgetting how it works, don't have the code in front of me)
which
I don't mind using merge()… My problem is that using the code linked above,
I cannot seem to make it to keep the original `self` (it invariably gets
replaced by the new persisted object).
I'm happy with a shallow copy of the object (I handle the relationship
separately). My next plan is literal