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

Docs for SERVER-35847: Remove db.eval(), update tests and helpers

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: None
    • Labels:
      None

      Description

      ----------------------------

      Original Description

      Description:

      This remove the

      {eval:1 ...}

      command which makes related helpers (db.eval(), db.dbEval(), db.copyTo(), now fail when run against a 4.2+ server. The helper function remain in the shell for connecting to older versions of MongoDB.

      ----------------------------

      Description

      Scope of changes (files that need work and how much)

      • 4.2.txt
      • 4.2-compatibility
      • delete eval command page (add redirect to 4.2-eval-command)
      • shell helpers db.eval and db.collection.copyTo – blurb that they cannot use with versions 4.2 or greater and point to earlier versions of manual
      • Remove mention of db.eval or eval command from
        • source/reference/mongodb-extended-json.txt
        • source/reference/database-profiler.txt
        • source/includes/warning-copyto-loss-of-type-fidelity.rst
        • source/includes/limits-sharding-unavailable-operations.rst
        • source/includes/extracts-admonition-js-prevalence.yaml

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              kay.kim Kay Kim (Inactive)
              Participants:
              Last commenter:
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                3 years, 16 weeks ago
                Date of 1st Reply: