Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added lastQuery #11

Merged
merged 2 commits into from
May 15, 2016
Merged

Added lastQuery #11

merged 2 commits into from
May 15, 2016

Conversation

Zetaphor
Copy link
Collaborator

Added lastQuery to return the last SQL statement executed by the cursor.
Using two different cursor properties for the statement, as older version of MySQLdb use cursor.statement, where newer versions use cursor._last_executed

Gary Daigle added 2 commits May 14, 2016 14:40
Added lastQuery to return the last SQL statement executed by the cursor.
@knadh knadh merged commit 39f3d64 into knadh:master May 15, 2016
@Zetaphor
Copy link
Collaborator Author

Thanks for merging! Can you push this update to pypi?

@knadh
Copy link
Owner

knadh commented May 17, 2016

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants