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

Shell helpers should document the analogous JS bindings

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 2.6.4, 2.7.4
    • Shell

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: