Skip to content

Commit

Permalink
Update _sources/api-articles/nodekoarticle1.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kulakowka committed Apr 26, 2012
1 parent 5681f8e commit 320145b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sources/api-articles/nodekoarticle1.txt
Expand Up @@ -238,7 +238,7 @@ And then there was CRUD
var doc2 = {mykey:2, docs:[{doc1:1}]};

collection.insert(doc2, {safe:true}, function(err, result) {
collection.update({mykey:2}, {$push:{docs:{doc2:1}}, {safe:true}, function(err, result) {});
collection.update({mykey:2}, {$push:{docs:{doc2:1}}}, {safe:true}, function(err, result) {});
});
});
};
Expand Down

0 comments on commit 320145b

Please sign in to comment.