Deleting one instead of many in 5th query.
This commit is contained in:
parent
ff283c93df
commit
06c90bf376
@ -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" } )
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user