The dbapi spec says that the cursor.description function should return a 7 item sequence of info for each field in a query result.
It also states:
The first two items (name and type_code) are mandatory, the other five are optional and are set to None if no meaningful values can be provided.
The info returned by the built-in sqlite3 driver only provides the field name and has None for all other attributes.
I have connected to the sqlite database using the parameter detect_types=sqlite3.PARSE_DECLTYPES
and of course created my table with typed fields.
Am I missing something? Is there some trick to it? Why does sqlite3's cursor.description not return the type data as required by PEP249?