-
Notifications
You must be signed in to change notification settings - Fork 47
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
how to configure cursor class for Flask-mysql #28
Comments
Hi, part of my code is here. it works. i hope it can be useful:
When i finished all crud operations i will publish my project you can look at on my github page: |
I need this too- @kayace we're trying to access the cursor types PyMySQL exposes ( specifically this one. Looking at the code, it doesn't appear to be possible. @cyberdelia would you accept a pull request if I added this? |
send me taht, if i can help you, i will be happy.
2018-01-22 21:10 GMT+03:00 Benjamin Kane <notifications@github.com>:
… I need this too- @kayace <https://github.com/kayace> we're trying to
access the cursor types PyMySQL exposes ( specifically this one
<http://pymysql.readthedocs.io/en/latest/modules/cursors.html#pymysql.cursors.DictCursor>.
Looking at the code, it doesn't appear to be possible. @cyberdelia
<https://github.com/cyberdelia> would you accept a pull request if I
added this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALGBsyYZ6IBfErVO-WQgVXKA-ulKd69Eks5tNM8MgaJpZM4RInO->
.
--
Adnan KAYA
adnankayace@gmail.com
Blog <https://adnankayace.blogspot.com.tr/>
Linkedin <https://www.linkedin.com/in/adnan-kaya-79b975144/>
Github <https://github.com/kayace?tab=repositories>
|
send me that, if i can help you, i will be happy.
2018-01-22 21:15 GMT+03:00 adnan kaya <adnankayace@gmail.com>:
… send me taht, if i can help you, i will be happy.
2018-01-22 21:10 GMT+03:00 Benjamin Kane ***@***.***>:
> I need this too- @kayace <https://github.com/kayace> we're trying to
> access the cursor types PyMySQL exposes ( specifically this one
> <http://pymysql.readthedocs.io/en/latest/modules/cursors.html#pymysql.cursors.DictCursor>.
> Looking at the code, it doesn't appear to be possible. @cyberdelia
> <https://github.com/cyberdelia> would you accept a pull request if I
> added this?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#28 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ALGBsyYZ6IBfErVO-WQgVXKA-ulKd69Eks5tNM8MgaJpZM4RInO->
> .
>
--
Adnan KAYA
***@***.***
Blog <https://adnankayace.blogspot.com.tr/>
Linkedin <https://www.linkedin.com/in/adnan-kaya-79b975144/>
Github <https://github.com/kayace?tab=repositories>
--
Adnan KAYA
adnankayace@gmail.com
Blog <https://adnankayace.blogspot.com.tr/>
Linkedin <https://www.linkedin.com/in/adnan-kaya-79b975144/>
Github <https://github.com/kayace?tab=repositories>
|
@kayace what should I send you? |
sorry my bad.
you said: "would you accept a pull request if I added this?"
I got it wrongly. My English :/
Can you tell me how can i help you ?
2018-01-22 21:18 GMT+03:00 Benjamin Kane <notifications@github.com>:
… @kayace <https://github.com/kayace> what should I send you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALGBs2nLC-owafWgT0u0RC_G5pr2MLU6ks5tNNDrgaJpZM4RInO->
.
--
Adnan KAYA
adnankayace@gmail.com
Blog <https://adnankayace.blogspot.com.tr/>
Linkedin <https://www.linkedin.com/in/adnan-kaya-79b975144/>
Github <https://github.com/kayace?tab=repositories>
|
@kayace I'm asking the maintainer (@cyberdelia ) if they will accept a pull request to implement this feature (adding a MYSQL_DATABASE_CURSOR_TYPE to the config's values so @h54345 and I can use DictCursor with our connections). I don't want to do the work and @cyberdelia not merge my new feature, so I want his blessing before I start. I wish you could help me, but I really need him. Thanks! |
@bbkane Sure. |
@cyberdelia I'll try to work on it this weekend |
Whoops, kinda forgot about that. Sorry |
i tried adding as app.config['MYSQL_CURSOR'] = 'DictCursor' & app.config['MYSQL_DATABASE_CURSOR'] = 'DictCursor' but did not work please help confused.
The text was updated successfully, but these errors were encountered: