Deleting one instead of many in 5th query.

This commit is contained in:
K 2024-11-09 11:51:58 +05:30
parent ff283c93df
commit 06c90bf376
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -145,7 +145,7 @@ db.Employee.find(
5. Drop Single documents where Designation="Developer" 5. Drop Single documents where Designation="Developer"
```json ```json
db.Employee.deleteMany( { Designation: "Developer" } ) db.Employee.deleteOne( { Designation: "Developer" } )
``` ```