Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-319

Help text for db.getCollection is incorrect

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.2.2
    • Affects Version/s: 0.1.0
    • Component/s: Shell API
    • None
    • Iteration Jackfruit
    • Not Needed

      When I run db.help(), the line for db.getCollection shows:

      getCollection Removes the current database, deleting the associated data files.
      

      Looks like a copy-paste from the dropDatabase() command.

            Assignee:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Reporter:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: