-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.6, 4.1.8
-
Component/s: Querying
-
None
-
ALL
-
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}
- duplicates
-
SERVER-6527 in projection implementation, dotted field inclusion supersedes parent field inclusion
- Closed