MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / update_results

Method update_results

pymongo/results.py:350–357  ·  view source on GitHub ↗

A map of successful update operations to their results.

(self)

Source from the content-addressed store, hash-verified

348
349 @property
350 def update_results(self) -> Mapping[int, UpdateResult]:
351 """A map of successful update operations to their results."""
352 self._raise_if_unacknowledged("update_results")
353 self._raise_if_not_verbose("update_results")
354 return cast(
355 Mapping[int, UpdateResult],
356 self.bulk_api_result.get("updateResults"),
357 )
358
359 @property
360 def delete_results(self) -> Mapping[int, DeleteResult]:

Callers

nothing calls this directly

Calls 3

_raise_if_not_verboseMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected