Make Sum return None instead of 0 for "no matches" (matching SQL semantics)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: django
    • None
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Some tests in Django's test suite are listed as expected failures because the Sum aggregate (matching MongoDB's $sum's behavior) returns 0 instead of None in the null case.

            Assignee:
            Tim Graham
            Reporter:
            Tim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: