update table remove a key from json object mysql code example
Example: update table remove a key from json object mysql
UPDATE emp
SET emp.col = JSON_REMOVE(emp.col, '$.field1');
UPDATE emp
SET emp.col = JSON_REMOVE(emp.col, '$.field1');