Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9446

Document which commands work (or don't work) with views

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0
    • None
    • KANBAN BUCKET
    • true

    Description

      Commands that take a namespace or collection as an argument should document whether or not they work on views. A partial list is found in the original description below. We should also consider whether or not to create a "commands that work with views" list, if it would be helpful to users.

      Engineering Ticket Description:

      Commands that work with namespaces should either work with views, be a no-op, or fail explicitly with the error code CommandNotSupportedOnView. A non-exhaustive list includes

      • createIndexes
      • dropIndexes
      • listIndexes
      • reIndex
      • renameCollection (with a shell helper renameView)
      • collMod
      • copydb
      • validate

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              emily.hall Emily Hall
              Jonathan Dahl Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 41 weeks, 1 day ago