MySQL Forums
Forum List  »  Connector/Python

Re: mysql transactions - foreign key failure (update: actually LAST_INSERT_ID() issue)
Posted by: Aaron Peachey
Date: October 01, 2009 05:51AM

Thanks for the reply.
I read a bit more into the python documentation for mysqldb and found that the class has a method lastinsertid() which returns everything i need!!
Thanks, Aaron.

Options: ReplyQuote


Subject
Written By
Posted
Re: mysql transactions - foreign key failure (update: actually LAST_INSERT_ID() issue)
October 01, 2009 05:51AM


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.