diff --git a/mongodb.html.markdown b/mongodb.html.markdown index 5633f3f9..f4e7d709 100644 --- a/mongodb.html.markdown +++ b/mongodb.html.markdown @@ -228,7 +228,7 @@ db.engineers.update({ name: 'Foo Baz' }, ) /////////////////////// Delete ///////////////////////// -// Queries are in the form of db.collectionName.find() +// Queries are in the form of db.collectionName.delete() // Delete first document matching query, always returns deletedCount db.engineers.deleteOne({ name: 'Foo Baz' })