[CONPY-271] cursor metadata property Created: 2023-10-04 Updated: 2023-10-11 Resolved: 2023-10-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Other |
| Affects Version/s: | N/A |
| Fix Version/s: | 1.1.8 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Python Version: | 3.8+ | ||||||||
| Description |
|
The cursor description as defined in PEP-249 doesn't cover all metadata provided from MariaDB server. Instead of extending description cursor should provide a new property 'metadata', which returns all metadata information as a dictionary. Example:
Output:
ext_type_or_format values will be defined in constants/EXT_FIELD_TYPE.py:
|