Details
-
Task
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
-
Empty show more show less
Description
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) {});