In SQLite, the json_patch()
function can be used to add, modify, or delete elements of a JSON Object.
To do this, it runs the RFC-7396 MergePatch algorithm to apply a given patch against the given JSON input.
We pass the original JSON as the first argument when we call the function, followed by the patch. The function then applies that patch against JSON in the first argument.
Continue reading