[sqlalchemy] multiple insert or update

2011-11-01 Thread Paul
What's the cleanest way to perform a multiple insert or update? ie, if the record already exists an update operation is performed or if not an insert is performed. I have seen merge being recommended for this insert or update, but I wondered if this was available as a multiple call like

Re: [sqlalchemy] multiple insert or update

2011-11-01 Thread Michael Bayer
On Nov 1, 2011, at 7:23 AM, Paul wrote: What's the cleanest way to perform a multiple insert or update? ie, if the record already exists an update operation is performed or if not an insert is performed. that's a funny usage of terminology - a multiple insert would normally be construed