在sqlalchemy中,我使用經典映射和autoload = True。我想從postgresql查詢jsontype的數據。如何在sqlalchemy中查詢來自postgresql的json數據類型的數據?
D:\Python27\lib\site-packages\sqlalchemy\dialects\postgresql\base.py:1706: SAWarning: Did not recognize type 'json' of column 'comm_media_alias'name, format_type, default, notnull, domains, enums, schema)
如何處理這個問題
我更新了我的問題,因爲SQLAlchemy 0.9版本增加了對JSON的支持。 –