U kunt speciale tekens in sleutelnamen gebruiken door ze te scheiden met ""
:
mysql> set @j = '{"*abc": 123}';
mysql> select json_extract(cast(@j as json), '$."*abc"') as special;
+---------+
| special |
+---------+
| 123 |
+---------+
U kunt speciale tekens in sleutelnamen gebruiken door ze te scheiden met ""
:
mysql> set @j = '{"*abc": 123}';
mysql> select json_extract(cast(@j as json), '$."*abc"') as special;
+---------+
| special |
+---------+
| 123 |
+---------+