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

Help text for createView in shell is incorrect

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.4.0-rc1
    • Shell
    • Fully Compatible
    • ALL

    Description

      Currently it includes the argument names. These result in an invalid command

      db.createView(name, viewOn : ..., pipeline : [ { $operator: {...}}, ... ] )
      

      Changing to:

      db.createView(name, viewOn, [ { $operator: {...}}, ... ], { viewOptions } )
      

      Attachments

        Activity

          People

            dan@mongodb.com Daniel Pasette
            dan@mongodb.com Daniel Pasette
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: