MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / _get_collection_name

Method _get_collection_name

mongoengine/base/document.py:772–776  ·  view source on GitHub ↗

Return the collection name for this class. None for abstract class.

(cls)

Source from the content-addressed store, hash-verified

770
771 @classmethod
772 def _get_collection_name(cls):
773 """Return the collection name for this class. None for abstract
774 class.
775 """
776 return cls._meta.get("collection", None)
777
778 @classmethod
779 def _from_son(cls, son, _auto_dereference=True, created=False):

Callers 15

__eq__Method · 0.95
_fetch_objectsMethod · 0.45
to_mongoMethod · 0.45
to_pythonMethod · 0.45
to_pythonMethod · 0.45
to_mongoMethod · 0.45
get_sequence_nameMethod · 0.45
to_mongoMethod · 0.45
to_pythonMethod · 0.45
validateMethod · 0.45
to_mongoMethod · 0.45
_get_collectionMethod · 0.45

Calls 1

getMethod · 0.45