-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Query 2020-02-10, Query 2020-02-24
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We would like to move away from system.js for new Javascript operators such as $function and $accumulator. But for backwards compatibility we need to continue to support it for $where and MapReduce, even though these will desugar to $function and $accumulator.
The switch should be per-expression, not per query: in a query containing both $where and $function, the $where expression should see system.js functions but the $function expression should not.