diff --git a/README.md b/README.md index 92aea4a..7f30b65 100755 --- a/README.md +++ b/README.md @@ -577,6 +577,10 @@ db.remove({ system: 'solar' }, { multi: true }, function (err, numRemoved) { // numRemoved = 3 // All planets from the solar system were removed }); + +// Removing all documents with the 'match-all' query +db.remove({}, { multi: true }, function (err, numRemoved) { +}); ``` ### Indexing