简体   繁体   中英

How to work with JSON_EXTRACT in Maria Db Version 10.1.18

I have a mysql query which is not working on MariaDb 10.1.18 as it contains a function "json_extract" and it is not available in this version but in 10.2.3.

So how i can I use this functin in this version? Any Help would be appreciated.

It's easier if you upgrade your MariaDB to 10.2 using this steps in official documentation: https://mariadb.com/kb/en/library/upgrading-from-mariadb-101-to-mariadb-102/

If you're using json_extract() for simple JSONs, you can look at extract_json_value() method in common_schema .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM