Return to Snippet

Revision: 12760
at March 26, 2009 16:50 by tclancy


Initial Code
cursor.lastrowid

Initial URL
http://asepandria.blogspot.com/2006/08/python-attributeerror-cursor-object.html

Initial Description
Documentation has a method listed at the connection level (conn.insert_id()) and online there are references to an older conn.db.insert_id(), but neither exists anymore (AFAIK).

Initial Title
Python MySQLdb Insert Id

Initial Tags

                                

Initial Language
Python