4 ms·
Similar to how MongoDB update queries work. Natural, since documents there are essentially JSON. Does anyone know if it’s possible to use that update language
by Too 2y ago
Similar to how MongoDB update queries work. Natural, since documents there are essentially JSON.
Does anyone know if it’s possible to use that update language on local files, without having a full mongodb running?
https://www.mongodb.com/docs/manual/reference/operator/update/#update-operators-1 https://www.mongodb.com/docs/manual/reference/operator/updat...
- DeathArrow 2y agoWe use MongoDB for data storage, so using JSON patch in the PATCH endpoints feels very natural. Just fetch the Mongo document and apply patch. Kind of slow, though.
- morrvs 2y agoThere is https://github.com/kofrasa/mingo https://github.com/kofrasa/mingo for in-memory objects