We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 811de0c + 445f88f commit 2d7b7ecCopy full SHA for 2d7b7ec
README.md
@@ -325,7 +325,7 @@ Next lets delete the document where the field **a** equals to **3**.
325
var deleteDocument = function(db, callback) {
326
// Get the documents collection
327
var collection = db.collection('documents');
328
- // Insert some documents
+ // Delete document where a is 3
329
collection.deleteOne({ a : 3 }, function(err, result) {
330
assert.equal(err, null);
331
assert.equal(1, result.result.n);
0 commit comments