Made changes to query 9 to show some output.

This commit is contained in:
K 2024-10-17 19:43:48 +05:30
parent 77fcb85901
commit 0ccd263ce0
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -206,7 +206,7 @@ db.Employee.find({ Designation: { $in: ["Developer", "Tester"] } })
9. Find all documents with exact match on Expertise array: 9. Find all documents with exact match on Expertise array:
```mongodb ```mongodb
db.Employee.find({ Expertise: { $all: ['Mongodb', 'Mysql', 'Cassandra'] } }) db.Employee.find({ Expertise: { $all: ["Cloud", "Microservices"] } })
``` ```