Given the following record in a collection named "tests":
{
name : "Testing",
values : [
,
{value2 : 456} ]
}
This query returns the record:
db.tests.find({values : { $all : [
] } } )
This query does not return the record:
db.tests.find({values : { $all : [ {value1 :
} ] } } )
That seems incorrect. Am I doing anything wrong or should this work?
- duplicates
-
SERVER-3072 $all + expressions
-
- Backlog
-