Comments - How i can use the json operator ->>

1 Jahr, 3 Monate ago Ian Gilfillan

MariaDB doesn't support the ->> operator. You can use JSON_UNQUOTE and JSON_EXTRACT instead, for example:

SELECT JSON_UNQUOTE(JSON_EXTRACT('{"id":"1", "name":"Name"}', '$.name')) `name`;

If the feature is important to you, you can also comment/vote on the JIRA ticket: MDEV-13594. Can you share the page that stated you could use the ->> operator so we can try correct it?

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.