[sqlalchemy] telling merge() to insert certain objects instead of update

2010-02-06 Thread Kent
There might/probably is a better way to achieve what I am trying to achieve. Let me explain: I've got a typical Customer/Order/Orderdetail relation. merge() appeals to me because it does most all the same work I'd otherwise need to do. I get passed to me an Order object will the customer

Re: [sqlalchemy] telling merge() to insert certain objects instead of update

2010-02-06 Thread Michael Bayer
On Feb 6, 2010, at 2:16 PM, Kent wrote: There might/probably is a better way to achieve what I am trying to achieve. Let me explain: I've got a typical Customer/Order/Orderdetail relation. merge() appeals to me because it does most all the same work I'd otherwise need to do. I get