[SERVER-6237] Shell helpers should document the analogous JS bindings Created: 28/Jun/12  Updated: 10/May/22

Status: Backlog
Project: Core Server
Component/s: Shell
Affects Version/s: 2.6.4, 2.7.4
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Richard Kreuter (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Unresolved Votes: 0
Labels: move-sa, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-1595 Table listing JS equivalents of non-J... Closed
Participants:

 Description   

Shell helpers can't be embedded in scripts or otherwise used with the rest of the shell's JS functionality.

The shell helpers' help messages should include the analogous JS, e.g.,

use <db_name> set current database (in JS, "db=db.getSiblingDB(<db_name>")
show collections show collections in current database (in JS, db.getCollectionNames())

etc.

Also the docs should mention these.



 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Comment by Stennie Steneker (Inactive) [ 23/Feb/15 ]

Per DOCS-1595, there's a table in the manual listing Differences Between Interactive and Scripted mongo.

The help text in the mongo shell still needs to be updated to include scripted command equivalents.

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