The SQLite json_replace()
function allows us to replace an existing value in a JSON document with another value.
We pass the original JSON as the first argument when we call the function, followed by the path of the value to replace, followed by the value to replace.
We can also replace multiple key/value pairs if required.
Continue reading