Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
Description
If you go down to the 'let' section of the docs it says
To access the let variables in the pipeline, use the $expr operator.
This is only true inside $match. Other stages can use the let variable as part of any expression.
It would be better worded as something like:
Any stage in the pipeline can access the variable using the $$var syntax, except for $match, where it can only be accessed inside a $expr