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

Function _esc_coll_name

pymongo/common.py:879–880  ·  view source on GitHub ↗
(encrypted_fields: Mapping[str, Any], name: str)

Source from the content-addressed store, hash-verified

877
878
879def _esc_coll_name(encrypted_fields: Mapping[str, Any], name: str) -> Any:
880 return encrypted_fields.get("escCollection", f"enxcol_.{name}.esc")
881
882
883def _ecoc_coll_name(encrypted_fields: Mapping[str, Any], name: str) -> Any:

Callers 4

drop_collectionMethod · 0.90
_createMethod · 0.90
drop_collectionMethod · 0.90
_createMethod · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected