[DOCS-11893] Docs for SERVER-35847: Remove db.eval(), update tests and helpers Created: 23/Jul/18  Updated: 29/Oct/23  Resolved: 27/Jul/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-35847 Remove db.eval(), update tests and he... Closed
Duplicate
is duplicated by DOCS-11905 Docs for SERVER-33662: Remove depreca... Closed
Related
Participants:
Days since reply: 5 years, 18 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 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)



 Comments   
Comment by Githook User [ 09/Oct/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11893: remove eval
Branch: master
https://github.com/mongodb/docs/commit/f96dbd3471a4a4a5b225c5257d5b6bba1ab0ef5f

Comment by Githook User [ 07/Aug/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: DOCS-11893: remove eval
Branch: upcoming-4.2
https://github.com/mongodb/docs/commit/4cb3a015586567294dd211f42a8f207a18aec643

Comment by Githook User [ 27/Jul/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-11893: remove eval
Branch: upcoming-4.2
https://github.com/mongodb/docs/commit/4712ce9b966c1840a11b7beba915f1ae26e0ac92

Generated at Thu Feb 08 08:03:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.