[Tutor] MySQLdb field type
Rick Pasotto
rick at niof.net
Mon Aug 10 19:08:41 CEST 2009
After executing a query that returns values, cursor.description contains
a list of tuples, one tuple for each field. Each tuple has seven values
consisting of (name,type_code,display_size,internal_size,precision,scale,null_ok).
Where can I find a listing of what the various type_codes are? Do I need
to experiment and make my own list?
--
"As empty vessels make the loudest sound, so they that have
the least wit are the greatest blabbers." -- Plato
Rick Pasotto rick at niof.net http://www.niof.net
More information about the Tutor
mailing list