MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / matched_count

Method matched_count

pymongo/results.py:233–236  ·  view source on GitHub ↗

The number of documents matched for an update.

(self)

Source from the content-addressed store, hash-verified

231
232 @property
233 def matched_count(self) -> int:
234 """The number of documents matched for an update."""
235 self._raise_if_unacknowledged("matched_count")
236 return cast(int, self.__bulk_api_result.get("nMatched"))
237
238 @property
239 def modified_count(self) -> int:

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected