MySQL Forums
Forum List  »  Connector/Python

Re: What auto-inc value was used?
Posted by: Brian Whittaker
Date: June 08, 2007 11:26AM

From inspecting the MySQLdb/cursors.py it appears to implement the lastrowid cursor attribute described in http://www.python.org/dev/peps/pep-0249/ - no idea if it works but there's code there for it. There is some documentation in http://mysql-python.sourceforge.net/MySQLdb.html but it's a bit sparse and possibly out of date since it isn't in the official package.

Options: ReplyQuote


Subject
Written By
Posted
Re: What auto-inc value was used?
June 08, 2007 11:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.