From 06c90bf3762ca53e55598311d3c7563472054a3e Mon Sep 17 00:00:00 2001 From: Kshitij Date: Sat, 9 Nov 2024 11:51:58 +0530 Subject: [PATCH] Deleting one instead of many in 5th query. --- Practical/Practical Exam/MongoDB/M3 - Crud operations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Practical/Practical Exam/MongoDB/M3 - Crud operations.md b/Practical/Practical Exam/MongoDB/M3 - Crud operations.md index 9420ec6..8f4852e 100644 --- a/Practical/Practical Exam/MongoDB/M3 - Crud operations.md +++ b/Practical/Practical Exam/MongoDB/M3 - Crud operations.md @@ -145,7 +145,7 @@ db.Employee.find( 5. Drop Single documents where Designation="Developer" ```json -db.Employee.deleteMany( { Designation: "Developer" } ) +db.Employee.deleteOne( { Designation: "Developer" } ) ```