Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
4.0.6, 4.1.8
-
None
-
ALL
-
Description
When querying documents, the order of the keys in the projection object change the results when it contains both a key and its sub-key.
The reporter could not find documentation for this behavior, so it seems unintended.
The reporter would expect all these projections to be equal:
{foo: 1}
|
{foo: 1, 'foo.bar': 1} |
{'foo.bar': 1, foo: 1} |
Attachments
Issue Links
- duplicates
-
SERVER-6527 in projection implementation, dotted field inclusion supersedes parent field inclusion
-
- Closed
-