Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
The second query
should be
db.inventory.find( { "instock":
{ qty: 60, warehouse: "A" }} )
instead of
db.inventory.find( { "instock": { $elemMatch:
{ qty: 60, warehouse: "A" }} } )