$mod match expression should raise an error when the remainder is not a number

XMLWordPrintableJSON

    • Minor Change
    • ALL
    • v4.2
    • Query 2019-10-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Other query operators treat null as NaN such as $lt, $gt, $lte, $gte

      $mod treats null as 0 rather than NaN and will return documents

      Semi related: SERVER-11414

              Assignee:
              James Wahlin
              Reporter:
              Graeme Yeates
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: