Hi,
I'm trying to get last inserted row id from cursor object but no luck.
Any Ideas?
import pgdb
conn = pgdb.connect(None, 'postgres', None, '10.58.5.50', 'dpd')
cursor = conn.cursor()
cursor.execute("INSERT INTO ops.tbl_returnlist (rname) VALUES ('Test')")
conn.commit()
print cursor.lastrowid
Outputs None