/ Published in: Python
![](/img/icon_sav.png?v3)
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).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
cursor.lastrowid
URL: http://asepandria.blogspot.com/2006/08/python-attributeerror-cursor-object.html
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)