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

Add 'min' and 'max' parameters to aggregate command

    • Query

      {
          aggregate: "mycoll",
          pipeline: [],
          min: {a: 4},
          max: {a: 6},
          hint: {a: 1},
          cursor: {},
      }
      

      Analogous to SERVER-39567, the aggregate command must also specify a hint if either the 'min' or 'max' parameters are specified.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: