commit
9db4c2c133
|
@ -1486,7 +1486,7 @@ internally so that repeated evaluations do not result in additional queries. In
|
||||||
contrast, ``iterator()`` will read results directly, without doing any caching
|
contrast, ``iterator()`` will read results directly, without doing any caching
|
||||||
at the ``QuerySet`` level (internally, the default iterator calls ``iterator()``
|
at the ``QuerySet`` level (internally, the default iterator calls ``iterator()``
|
||||||
and caches the return value). For a ``QuerySet`` which returns a large number of
|
and caches the return value). For a ``QuerySet`` which returns a large number of
|
||||||
objects that you only need to access once, this can results in better
|
objects that you only need to access once, this can result in better
|
||||||
performance and a significant reduction in memory.
|
performance and a significant reduction in memory.
|
||||||
|
|
||||||
Note that using ``iterator()`` on a ``QuerySet`` which has already been
|
Note that using ``iterator()`` on a ``QuerySet`` which has already been
|
||||||
|
|
Loading…
Reference in New Issue