The SQLite json_set()
function allows us to insert into, or replace, a value in a JSON document.
We pass the original JSON as the first argument when we call the function, followed by a path that specifies where to insert/replace the new value, followed by the value to insert/replace.
We can also insert/replace multiple key/value pairs if required.
Continue reading