Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb find inside array of object

> db.searchArrayDemo.find({EmployeeDetails:{$elemMatch:{EmployeePerformanceArea : "C++", Year : 1998}}}).pretty();
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #mongodb #find #array #object
ADD COMMENT
Topic
Name
8+4 =