How to add new elements to json variables in mySQL
thus: value = ['123'] Do this: Value = ['123','456']
JSON_ARRAY_APPEND() ; Function
SET @Value = '["123"]'; SET @Value = JSON_ARRAY_APPEND(@Value, '$', '456'); SELECT @Value;
violin
JSON_ARRAY_APPEND() ; Function
violin