mysql array type field deleted by key 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');