Nice to know that !

The only problem with this is we should escape fileds by hand, a transparent solution would be better.

Cheers !

On Tue, 21 Oct 2014 05:28:52 GMT
"Jack Applegame" japplegame@gmail.com wrote:

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 !

collection.update(
  `{"_id": 1234}`,
  `"$set": {
    {"field1": 532},
    {"field2": "hello"}
  }`
);


Domingo Alavarez Duarte mingodad@gmail.com