MCPcopy
hub / github.com/django/django / _fetch_all

Method _fetch_all

django/db/models/query.py:2237–2241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2235 return c
2236
2237 def _fetch_all(self):
2238 if self._result_cache is None:
2239 self._result_cache = list(self._iterable_class(self))
2240 if self._prefetch_related_lookups and not self._prefetch_done:
2241 self._prefetch_related_objects()
2242
2243 def _next_is_sticky(self):
2244 """

Callers 5

__getstate__Method · 0.95
__len__Method · 0.95
__iter__Method · 0.95
__bool__Method · 0.95
__getitem__Method · 0.45

Calls 1

Tested by

no test coverage detected