Answers for "get object object value in array mongodb"

2

find object in array mongodb

db.users.findOne({"_id": id},{awards: {$elemMatch: {award:'Turing Award', year:1977}}})
Posted by: Guest on January-04-2021
0

mongodb find inside array of object

> db.searchArrayDemo.find({EmployeeDetails:{$elemMatch:{EmployeePerformanceArea : "C++", Year : 1998}}}).pretty();
Posted by: Guest on October-14-2021

Code answers related to "get object object value in array mongodb"

Code answers related to "Javascript"

Browse Popular Code Answers by Language