Number of records matched by the request parameters
Number of records that were modified. For a single-record update: 1 if the record was updated; 0 if it was already in the target state
If an error is not raised, this will always be 1 to indicate success
MongoDB result output from an upsert operation
See
ScreepsDbUpdateResponse