On Tuesday, January 18, 2011, Eric Lemoine <eric.lemo...@camptocamp.com> wrote: > Hi > > Probably a very simple question. I use the ORM for inserts, with > postgres 8.3. How can I get the ids resulting from my inserts' > RETURNING clauses? I haven't been able to find the information in the > doc.
Doing just_inserted_obj.id causes a "SELECT ... WHERE id=" query, which I'd like to avoid. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.