I use MySQLdb(a python library) to talk with mysql. Is there some way to get the field type using MySQLdb , and the most important thing is how can I know it is unsigned or not ?
I know we can use MYSQL_FIELD struct to get what I mentioned above using mysql C api. Is there something similar in MySQLdb ?
Thank you very much!
You can get the field type from the INFORMATION_SCHEMA Tables, e.g.