On Mon, 20 Oct 2014 22:16:48 GMT, Domingo wrote:
Hello !
The actual Mongodb driver do not allow the update of only the fields provided but mongodb itself provides that capability.
There is plans to add this functionality to Mongodb driver ?
Cheers !
you can update individual fields as follows:
collection.update(
`{"_id": 1234}`,
`"$set": {
{"field1": 532},
{"field2": "hello"}
}`
);