python mysql查询数据、mysql中数据类型为time、python查出来是timedelta类型是什么原因
ringa_lee
ringa_lee 2017-04-18 09:44:08
0
1
890

数据库中数据的类型为time,为什么用python查询数据库查询出来的数据却是timedelta类型?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
洪涛

This is the internal type conversion logic of the MySQLdb library. You can refer to the MySQLdb code (conversion.py+165).

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template