2 ms·
Only had 5 days with MongoDB and I found it a good alternative for persistence of basic data structure in Python, my main concern was something that can $set in
by wslh 16y ago
Only had 5 days with MongoDB and I found it a good alternative for persistence of basic data structure in Python, my main concern was something that can $set individual elements of a JSON instead of retrieving the whole doc and modify it.
- mkramlich 16y ago> my main concern was something that can $set individual elements of a JSON instead of retrieving the whole doc and modify it. i ran into the same question
- nl 16y agoNot quite sure what you mean, but Atomic Modifications might be what you want: http://www.mongodb.org/display/DOCS/Atomic+Operations http://www.mongodb.org/display/DOCS/Atomic+Operations You can update any field in a document. Obviously you'll need the ID of the document.