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

Cannot access collections that start with underscore "_"

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: Collection
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • Not Needed

      Problem Description

      Cannot access collection that start with underscore "_"

      Steps to Reproduce

      Try to fetch collection "_coll"

      db._coll.find()

      Expected Results

      List of documents

      Actual Results

      TypeError: Cannot read property 'find' of undefined

      Additional notes

      db.getCollection("_coll").find() works

        1. screenshot-1.png
          14 kB
          Massimiliano Marcon

            Assignee:
            Unassigned Unassigned
            Reporter:
            kornilova203@gmail.com Людмила Корнилова
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: