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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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

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

              Created:
              Updated:
              Resolved:
              6 years, 37 weeks, 3 days ago