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

add db.collection.getInfo() collection method

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying, Security
    • Query Execution

      We already have db.getCollectionInfos(). However, numerous users have run into issues where they aren't able to get information specific to a collection (information such as what listCollections provides) because they do not have the necessary privileges to do so.

      Exposing a new method on the collection, one that returns the same information as db.getCollectionInfos() - but for the current namespace - will address most of these issues.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: