Posted By

tclancy on 03/26/09


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Python MySQLdb Insert Id

 / Published in: Python


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.