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

Shell Help Collection Examples Inconsistent

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Security 2019-11-18, Security 2019-12-02, Security 2020-02-10

      When you type "help" in the Mongo shell, a list of potential help methods gets printed out. In this list, we refer to collections by an arbitrary collection name. This collection name is inconsistent throughout the help menu and therefor introduces unnecessary confusion.

      We refer to collections as both "mycoll" (in "db.mycoll.help()") and "foo" (in "db.foo.find()" and "db.foo.find(

      { a : 1 }

      )").

      I suggest we standardize on either "mycoll" or an unknown third option ("foo" is not very readable).

      I have opened a PR standardizing on "mycoll": https://github.com/mongodb/mongo/pull/1330

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            michael.doliner@mongodb.com Michael Doliner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: