farcepest / MySQLdb1

MySQL database connector for Python (legacy version)
https://sourceforge.net/projects/mysql-python/
666 stars 318 forks source link

MySQLdb support mysql5.7 json future ? #102

Closed rfyiamcool closed 9 years ago

rfyiamcool commented 9 years ago

MySQLdb support mysql5.7 json future ?

I'm not sure MySQLdb in new version support sql with json format .

rfyiamcool commented 9 years ago
mysql> select * from xiaorui;
+----------------------------------------------------------------------------------+---------------------+
| doc                                                                              | updated             |
+----------------------------------------------------------------------------------+---------------------+
| {"title": "MySQL 5.7 with JSON and Connector/Python", "page_id": "1"} | 2015-10-20 18:19:09 |
+----------------------------------------------------------------------------------+---------------------+
1 row in set (0.00 sec)

Pass test, make sure support (insert 、select 、update) , then MySQLdb module support operate json format .

Thanks !