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

Allow to set to expand aiomysql.cursors.Cursor #373

Closed
elBroom opened this issue Jan 17, 2019 · 1 comment
Closed

Allow to set to expand aiomysql.cursors.Cursor #373

elBroom opened this issue Jan 17, 2019 · 1 comment

Comments

@elBroom
Copy link
Contributor

elBroom commented Jan 17, 2019

In #263 the custom cursor was removed.
For each query I need to set a comment with 'request_id' and measure time of the query. Initially, I thought to do this through before_cursor_execute, but the library does not support subscribing to events. Now, I think to expand the cursor aiomysql.cursors.Cursor.

@aio-libs-bot
Copy link

GitMate.io thinks possibly related issues are #251 (cursor.nextset() hangs if the next set has an error), #214 (get a problem in cursor), #158 (aiomysql enabled cache?), #159 (how to use aiomysql with tornado?), and #303 (aiomysql Import Error _scramble).

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

No branches or pull requests

2 participants