P粉8514014752023-09-01 14:07:18
UPDATE allemployees SET schedule = JSON_SET(schedule, '$[0]."2022-01-03"', 'O 08:00') WHERE name_cyr = 'John Doe';
https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=2c59600049b4dfc1675c444a6da578bb
Path"2022-01-03"
contains dashes and must be enclosed in double quotes.
The value to be set is not the superior value, but the component of the clear array element.