-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 3.6.6, 4.0.0
-
Component/s: Querying
-
None
-
ALL
-
When using the $slice projection operator on the output field below, the input and txid fields are included in the projection. When using the $elemMatch projection operator on the output field, the txid and input fields are not included in the projection. I believe that the correct behavior is exhibited by the $elemMatch operator, and should be the same with $slice.
- duplicates
-
SERVER-3378 $slice projection returns all fields
-
- Closed
-