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

add db.collection.getInfo() collection method

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Querying, Security
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-execution Backlog - Query Execution
              Reporter:
              adinoyi.omuya Adinoyi Omuya
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: