-
Type:
Task
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In http://mongodb.github.com/node-mongodb-native/api-articles/nodekoarticle1.html there're few examples indicating the following piece of code:
collection.update(
{mykey:2}, {$push:{docs:{doc2:1}},
{safe:true}, function(err, result) {});
It should be:
collection.update(
{mykey:2}, {$push:{docs:
{doc2:1}}},
{safe:true}, function(err, result) {});