On 16/09/2010 11:49, phasma wrote:
session imported from Meta ? If use Meta.Session.execute it's returns RowProxy, which has no lastrowid parameter.
Try this: with meta.Session: result = meta.Session.execute("INSERT statement") print result.lastrowid cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@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.