Re: [sqlalchemy] Question on session.expunge.all()

2011-09-07 Thread Vlad K.
Great, thanks! .oO V Oo. On 09/06/2011 04:48 PM, Michael Bayer wrote: On Sep 6, 2011, at 10:40 AM, Vlad K. wrote: I have a products database which is daily syncronized with an external source via a csv file. There are several thousand rows in question. The synchronization does two

[sqlalchemy] Question on session.expunge.all()

2011-09-06 Thread Vlad K.
I have a products database which is daily syncronized with an external source via a csv file. There are several thousand rows in question. The synchronization does two things: 1. Update only price if changed for existing products 2. Insert new products if they don't exist with all fields

Re: [sqlalchemy] Question on session.expunge.all()

2011-09-06 Thread Michael Bayer
On Sep 6, 2011, at 10:40 AM, Vlad K. wrote: I have a products database which is daily syncronized with an external source via a csv file. There are several thousand rows in question. The synchronization does two things: 1. Update only price if changed for existing products 2. Insert