Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8915

Make "as" option of $filter and $map default to "this"

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • None
    • Server
    • None

    Description

      Since we added $reduce to have variable names "this" and "value" during SERVER-17258, we should update $map and $filter to default their "as" option to "this".

      Attachments

        Activity

          People

            nick.larew@mongodb.com Nicholas Larew
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 30 weeks, 6 days ago