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

Method no_cache

mongoengine/queryset/queryset.py:151–156  ·  view source on GitHub ↗

Convert to a non-caching queryset

(self)

Source from the content-addressed store, hash-verified

149 return self._len
150
151 def no_cache(self):
152 """Convert to a non-caching queryset"""
153 if self._result_cache is not None:
154 raise OperationError("QuerySet already cached")
155
156 return self._clone_into(QuerySetNoCache(self._document, self._collection))
157
158
159class QuerySetNoCache(BaseQuerySet):

Calls 3

OperationErrorClass · 0.90
QuerySetNoCacheClass · 0.85
_clone_intoMethod · 0.80