Comment (by François Freitag):
> Our project processes instances in a stream.
Could you give more details on that? `prefetch_related_objects()` loads
all objects upfront due to
https://github.com/django/django/blob/stable/2.2.x/django/db/models/query.py#L1546.
Even with an overloaded `__bool__`, the `QuerySet` is iterated over by
https://github.com/django/django/blob/stable/2.2.x/django/db/models/query.py#L1585.
--
Ticket URL: <https://code.djangoproject.com/ticket/32089#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.