Bug #81573 Add MySQLCursorPreparedDict option (contribution)
| Submitted: | 24 May 2016 13:28 | Modified: | 16 Nov 2022 19:55 |
|---|---|---|---|
| Reporter: | OCA Admin (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / Python | Severity: | S3 (Non-critical) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any |
[24 May 2016 13:28]
OCA Admin
[24 May 2016 13:28]
OCA Admin
Contribution submitted via Github - Add MySQLCursorPreparedDict option (*) Contribution by Luke Weber (Github lukeweber, mysql-connector-python/pull/20#issuecomment-221028153): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: git_patch_69942701.txt (text/plain), 2.12 KiB.
[24 May 2016 16:56]
MySQL Verification Team
Thank you for the contribution.
[4 Nov 2022 14:44]
Oscar Pacheco
Posted by developer: Thanks, Luke Weber for the contribution.
[4 Nov 2022 14:44]
Oscar Pacheco
Posted by developer: Thanks, Luke Weber for the contribution.
[16 Nov 2022 19:55]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Python 8.0.32 release, and here's the proposed changelog entry from the documentation team: Added a new MySQLCursorPreparedDict class option that is similar to MySQLCursorPrepared; the difference is that the former returns a fetched row as a dictionary where column names are used as keys while the latter returns a row as a traditional record (tuple). Thank you for the bug report.
[16 Nov 2022 19:56]
Philip Olson
Posted by developer: In addition, the release note includes the following: Thanks to Luke Weber for the contribution.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.055 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.