Skip to content

Commit

Permalink
Merge pull request #586 from kulakowka/gh-pages
Browse files Browse the repository at this point in the history
Corrected a bug in the code
  • Loading branch information
christkv committed Apr 26, 2012
2 parents 5681f8e + 320145b commit 83d595f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sources/api-articles/nodekoarticle1.txt
Original file line number Diff line number Diff line change
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 83d595f

Please sign in to comment.