我将GEOMETRY字段更新为''
时出现以下错误无法从发送到GEOMETRY字段的数据中获取几何对象
我的查询:
UPDATE `promocode` SET
`start_date` = '2018-02-14 00:00:00',
`expire_date` = '2018-02-28 00:00:00',
`latitude` = '',
`longitude` = '',
`geofence_latlng` = '',
`geofence_polygon` = '',
`promo_discount` = '10',
`promo_limit` = '5'
WHERE `promoid` = '6'
此处geofence_polygon
字段数据类型为"polygon"
。