Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6237

Shell helpers should document the analogous JS bindings

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.6.4, 2.7.4
    • Component/s: Shell
    • Labels:

      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.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: