Shell Help Collection Examples Inconsistent

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Michael Doliner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: