Hello, this is a PR to improve on my initial implementation of docdb_update() for src_sqlite() objects (PR #30 ). That implementation just replaced an existing record with a fully new record.
Now, json_patch() of the Json1 extension in the SQLite backend is used to enable atomic updates (of parts of the JSON document), see https://www.sqlite.org/json1.html#jpatch.
This is much more appropriate for an docdb_update() method, and I hope you can accept this. Thanks for review and comments.
Hello, this is a PR to improve on my initial implementation of docdb_update() for src_sqlite() objects (PR #30 ). That implementation just replaced an existing record with a fully new record.
Now, json_patch() of the Json1 extension in the SQLite backend is used to enable atomic updates (of parts of the JSON document), see https://www.sqlite.org/json1.html#jpatch.
This is much more appropriate for an docdb_update() method, and I hope you can accept this. Thanks for review and comments.