执行以下语句报错:
SELECT `JsonField`->>'$.#key' FROM tableName;
[Err] 3143 - Invalid JSON path expression. The error is around character position 4.
解决办法:键名加双引号
SELECT `JsonField`->>'$."#key"' FROM tableName;
执行以下语句报错:
SELECT `JsonField`->>'$.#key' FROM tableName;
[Err] 3143 - Invalid JSON path expression. The error is around character position 4.
解决办法:键名加双引号
SELECT `JsonField`->>'$."#key"' FROM tableName;