UpdateResult::mod always set to 0 when _id doesn't match anything

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      AFAICT, mod should be 1 if it's a $-mod update, whether or not it finds a doc to mod. _updateById sets mod to 0 indiscriminately if the _id is not found.

            Assignee:
            Unassigned
            Reporter:
            Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: