Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
Query
-
ALL
Description
> db.bar.drop()
|
false
|
> db.bar.insert({_id:1})
|
> db.bar.insert({_id:2})
|
> db.bar.find({x:null}, {_id:1, x:1})
|
{ "_id" : 1 }
|
{ "_id" : 2 }
|
> db.bar.ensureIndex({x:1, _id:1})
|
> db.bar.find({x:null}, {_id:1, x:1})
|
{ "x" : null, "_id" : 1 }
|
{ "x" : null, "_id" : 2 }
|
Attachments
Issue Links
- duplicates
-
SERVER-23229 Projection incorrectly returns null value instead of missing field to user if projection is covered
-
- Backlog
-
- is related to
-
SERVER-23229 Projection incorrectly returns null value instead of missing field to user if projection is covered
-
- Backlog
-
-
SERVER-5580 covered indexes are improperly applied when arrays do not have multiple values
-
- Closed
-
-
SERVER-11833 Projected field order different under new query framework
-
- Closed
-
-
SERVER-12056 hint() is not respected in find()
-
- Closed
-
- related to
-
SERVER-4529 fast count mode should not be used when matching against null
-
- Closed
-
-
SERVER-12869 Index null values and missing values differently
-
- Backlog
-