Skip to content

Commit 7e7e969

Browse files
MANAS225jacobtylerwalls
authored andcommitted
Fixed #37039 -- Removed outdated note from QuerySet.iterator() docs.
1 parent c9b65e2 commit 7e7e969

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/ref/models/querysets.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2643,9 +2643,8 @@ iterator` if you call its asynchronous version ``aiterator``.
26432643

26442644
A ``QuerySet`` typically caches its results internally so that repeated
26452645
evaluations do not result in additional queries. In contrast, ``iterator()``
2646-
will read results directly, without doing any caching at the ``QuerySet`` level
2647-
(internally, the default iterator calls ``iterator()`` and caches the return
2648-
value). For a ``QuerySet`` which returns a large number of objects that you
2646+
will read results directly, without doing any caching at the ``QuerySet``
2647+
level. For a ``QuerySet`` which returns a large number of objects that you
26492648
only need to access once, this can result in better performance and a
26502649
significant reduction in memory.
26512650

0 commit comments

Comments
 (0)