Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45457

Allow disabling system.js on a per-expression basis

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Fully Compatible
    • Query 2020-02-10, Query 2020-02-24

    Description

      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.

      Attachments

        Activity

          People

            katherine.wu@mongodb.com Katherine Wu (Inactive)
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: