-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.19.12
-
Component/s: Aggregation pipeline, Compass
-
None
-
Environment:Ubuntu 18.04
I tried using MongoDB Aggregation Pipelines but $round is not working properly. I tried to replicate your example in the documentation but got an warning instead:
Expected "[" or AggregationStage but "{" found.
{ roundedValue: { $round: [ "$value", 1 ] } }
- duplicates
-
COMPASS-3977 $round operator not supported in aggregation pipeline builder
- Closed