Re: [sqlalchemy] Session.merge() use case (possible) ambiguity

2015-08-13 Thread Simon King
On Thu, Aug 13, 2015 at 2:03 AM, Jinghui Niu niujing...@gmail.com wrote: About the Session.merge(), the documentation gives several examples of use cases, I think there might be a slight ambiguity in this one: An application which reads an object structure from a file and wishes to save it to

[sqlalchemy] Session.merge() use case (possible) ambiguity

2015-08-12 Thread Jinghui Niu
About the Session.merge(), the documentation gives several examples of use cases, I think there might be a slight ambiguity in this one: An application which reads an object structure from a file and wishes to save it to the database might parse the file, build up the structure, and then use