aneroid
(Anirudh Dutt)
3
Hi,
In order for us to be able to help:
- Could you paste your aggregation pipeline (or just that one stage) as text so that we can actually edit/debug it. Typing out code from an image is not ideal.
- Provide some example data (as text), and optionally, in Mongo Playground (even if it doesn’t work in v6)
That stage in the image appears to have three converts:
- The innermost
$convert → input → $convert → input has { $toInt: ... } (which is a shorthand for $convert: { to: "int" })
- Then there’s the second-level
$convert → input → $convert
- The outermost
$convert.