-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.5
-
Component/s: Querying
-
None
-
Query Optimization
Is there a valid case for passing an empty array to the $in query parameter?
This query runs, but, of course, returns no results:
db.enron.find({_id : {$in : []}},{_id:1})
Although syntactically valid it doesn't appear to be semantically valid.
- related to
-
SERVER-41142 Compound index on an array field is not being used correctly
- Closed