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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • None
    • None

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 27 weeks, 2 days ago