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

Method inserted_count

pymongo/results.py:227–230  ·  view source on GitHub ↗

The number of documents inserted.

(self)

Source from the content-addressed store, hash-verified

225
226 @property
227 def inserted_count(self) -> int:
228 """The number of documents inserted."""
229 self._raise_if_unacknowledged("inserted_count")
230 return cast(int, self.__bulk_api_result.get("nInserted"))
231
232 @property
233 def matched_count(self) -> int:

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected