Skip to content

Commit

Permalink
Fix typo in node quickstart
Browse files Browse the repository at this point in the history
The comment for deleteOne was still "insert some documents"
  • Loading branch information
oBusk committed Feb 11, 2017
1 parent d1a4e15 commit fe04423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/content/quick-start/index.md
Expand Up @@ -246,7 +246,7 @@ Remove the document where the field **a** is equal to **3**.
var removeDocument = function(db, callback) {
// Get the documents collection
var collection = db.collection('documents');
// Insert some documents
// Delete document where a is 3
collection.deleteOne({ a : 3 }, function(err, result) {
assert.equal(err, null);
assert.equal(1, result.result.n);
Expand Down

0 comments on commit fe04423

Please sign in to comment.