mysql
共 1 篇文章
mysql 字段为json格式,返回各个字段
SELECT id, callId, JSON_UNQUOTE ( json_extract ( messageJson, '$.type' ) ) AS type, JSON_UNQUOTE ( json_extract ( messageJson, '$.callType' ) ) AS callType, JSON_UNQUOTE ( json_extract ( messageJson, '$.appSid' ) ) AS appSid, JSON_UNQUOTE ( json_extract ( messageJson, '$.userNum' ) ) AS userNum, JS…
2018-11-29 15:43 · mysql · json · MySQL