aggregation: treat undefined values the same as null values

XMLWordPrintableJSON

    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $group currently doesn't allow for the grouping key to be undefined. The attached script demonstrates the problem, yielding this error for the last two cases:

      {
      "errmsg" : "exception: the _id field for a group must not be undefined",
      "code" : 15956,
      "ok" : 0
      }

              Assignee:
              Mathias Stearn
              Reporter:
              Chris Westin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: