Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
None
-
Query Execution
-
ALL
-
Description
The projection form of $slice:
https://www.mongodb.com/docs/manual/reference/operator/projection/slice/
only works with find, not with $project.
I understand there is another form of $slice:
https://www.mongodb.com/docs/manual/reference/operator/aggregation/slice/
But the issue here is why the first form doesn't work with $project.
Attachments
Issue Links
- related to
-
CSHARP-4804 Slice projection must be rendered differently for Find and Aggregate
-
- Closed
-