Created
June 26, 2017 12:57
-
-
Save elenst/c2c1a2419ad5431e1e5722c3792fc993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MariaDB [test]> create function json_get_item returns string soname 'ha_connect.so'; | |
Query OK, 0 rows affected (0.02 sec) | |
MariaDB [test]> select json_get_item('{"id": 1}', 'id:*'); | |
+------------------------------------+ | |
| json_get_item('{"id": 1}', 'id:*') | | |
+------------------------------------+ | |
| NULL | | |
+------------------------------------+ | |
1 row in set (0.00 sec) | |
MariaDB [test]> select @@version; | |
+----------------------+ | |
| @@version | | |
+----------------------+ | |
| 10.2.7-MariaDB-debug | | |
+----------------------+ | |
1 row in set (0.00 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment