Posted By

tclancy on 03/26/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

indamix


Python MySQLdb Insert Id


 / Published in: Python
 

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

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

  1. cursor.lastrowid

Report this snippet  

You need to login to post a comment.