-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Query Execution
$all doesn't work as expected on lists
The logic of all seems to be:
{field:{$all:lst}}
if for all x in list, x is in field, then return
else, do not return
However, for the empty list, which would vacuously satisfy everything, it does not return everything.
- related to
-
SERVER-47374 Query with empty in clause performs collection scan
- Closed