Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

json_remove mysql

mysql> SET @j = '["a", ["b", "c"], "d"]';
mysql> SELECT JSON_REMOVE(@j, '$[1]');
+-------------------------+
| JSON_REMOVE(@j, '$[1]') |
+-------------------------+
| ["a", "d"]              |
+-------------------------+
Source by dev.mysql.com #
 
PREVIOUS NEXT
Tagged: #mysql
ADD COMMENT
Topic
Name
3+3 =