Comments - JSON document

4 years, 2 months ago Subhankar Majumder

{ "people": { "Man": {Employe:50, Student:91, Artist:80, Clark:50}, "Woman": {Employe:21, Student:01, Artist:00, k3:30, Clark:68} } }

How can I Update" Employe" Value From "Man" Object. I want something similar to below mysql query. UPDATE TABLE SET Column=JSON_SET(Column, '$.people.Man.Employe', '51') where Id=1234567890;

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.