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

Method id

bson/dbref.py:75–77  ·  view source on GitHub ↗

Get this DBRef's _id.

(self)

Source from the content-addressed store, hash-verified

73
74 @property
75 def id(self) -> Any:
76 """Get this DBRef's _id."""
77 return self.__id
78
79 @property
80 def database(self) -> Optional[str]:

Callers 12

watched_collectionMethod · 0.80
insert_one_and_checkMethod · 0.80
insert_one_and_checkMethod · 0.80
test_isolationMethod · 0.80
run_scenarioMethod · 0.80
watched_collectionMethod · 0.80
insert_one_and_checkMethod · 0.80
insert_one_and_checkMethod · 0.80
test_isolationMethod · 0.80
run_scenarioMethod · 0.80

Calls

no outgoing calls

Tested by 10

watched_collectionMethod · 0.64
insert_one_and_checkMethod · 0.64
insert_one_and_checkMethod · 0.64
test_isolationMethod · 0.64
watched_collectionMethod · 0.64
insert_one_and_checkMethod · 0.64
insert_one_and_checkMethod · 0.64
test_isolationMethod · 0.64