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

Method modified_count

pymongo/results.py:155–159  ·  view source on GitHub ↗

The number of documents modified.

(self)

Source from the content-addressed store, hash-verified

153
154 @property
155 def modified_count(self) -> int:
156 """The number of documents modified."""
157 self._raise_if_unacknowledged("modified_count")
158 assert self.__raw_result is not None
159 return cast(int, self.__raw_result.get("nModified"))
160
161 @property
162 def upserted_id(self) -> Any:

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected