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

listCommands outdated help for aggregate command

    • Fully Compatible
    • ALL

      ..
      		},
      		"aggregate" : {
      			"help" : "{ pipeline : [ { <data-pipe-op>: {...}}, ... ] }",
      			"lockType" : 0,
      			"slaveOk" : false,
      			"adminOnly" : false,
      			"slaveOverrideOk" : true
      		},
      ..
      

      I would have expected that it included a "cursor: true", indicating it could either return a cursor or a document.
      This would be inline with the other fieldnames in there, detonating "special behavior".

      The help is also missing the option argument (i.e. cursor: ...)

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: