removing ned for second mongo

This commit is contained in:
2013-01-07 15:37:18 -05:00
parent 362fa3eaa8
commit 915edd69dc
27 changed files with 2841 additions and 2321 deletions

View File

@@ -3,7 +3,7 @@ var articles = db.collection('articles');
articles.insert({foo: 'bar', val: 'val1'}, function(err, result) {
console.log(result);
articles.update({foo:'bar'}, {foo: 'bar', val:'val2'}, {safe: true}, function(err, result) {
articles.update({foo:'bar'}, {foo: 'bar', val:'val2'}, {strict: true}, function(err, result) {
console.log(result);
articles.find({foo: 'bar'}).toArray(function(err, docs){