This is more of a question in seeing if MySQL has any support for appending a JSON object without adding any extensions.
Say I have a JSON object that is in a person table in my MySQL server that contains the following:
{"John":"male",
"Jane":"female"}
and in any language that can execute MySQL code through their api wanted to add the following
{"Jack":"male",
"Jill":"female"}
to have the JSON object end up like this:
{"John":"male",
"Jane":"female",
"Jack":"male",
"Jill":"female"}
Would this be possible without grabbing the object and appending it within the code rather than executing a MySQL command. If it is possible, how would it be done?
I am currently using 10.3.22 of MariaDB.