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

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

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

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

      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)

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

              Created:
              Updated:
              Resolved:
              5 years, 29 weeks, 1 day ago