MCPcopy
hub / github.com/django/django / fetch_mode

Method fetch_mode

django/db/models/query.py:1977–1981  ·  view source on GitHub ↗

Set the fetch mode for the QuerySet.

(self, fetch_mode)

Source from the content-addressed store, hash-verified

1975 return clone
1976
1977 def fetch_mode(self, fetch_mode):
1978 """Set the fetch mode for the QuerySet."""
1979 clone = self._chain()
1980 clone._fetch_mode = fetch_mode
1981 return clone
1982
1983 ###################################
1984 # PUBLIC INTROSPECTION ATTRIBUTES #

Calls 1

_chainMethod · 0.95