Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-686 Migrate MapReduce Page
  3. DOCS-92

MapReduce docs should make it clear that JS functions need to be pure

    XMLWordPrintableJSON

Details

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      They should depend only on their arguments and reading values from the "scope" object. This means no touching the "db" object and not even reading the current time.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 12 weeks, 2 days ago