-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Minor Change
-
ALL
It used to be based on document field order, but is now based on the order in the projection spec.
> db.order.drop() true > db.order.insert({_id:1, first:1, second:1}) { "ok" : 1, "n" : 1 } > db.order.findOne({}, {second:1, first:1}) { "_id" : 1, "second" : 1, "first" : 1 } // Old query system > db.adminCommand({setParameter:1, newQueryFrameworkEnabled: false}) { "was" : true, "ok" : 1 } > db.order.findOne({}, {second:1, first:1}) { "_id" : 1, "first" : 1, "second" : 1 }
- is depended on by
-
SERVER-11711 Make agg use new query framework
- Closed
- related to
-
SERVER-6293 Index only query fills in missing values with null
- Closed