Doc fix for #340
This commit is contained in:
parent
1a54dad643
commit
ce44843e27
1 changed files with 2 additions and 5 deletions
|
|
@ -15,11 +15,8 @@ fetch documents from the database::
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
Once the iteration finishes (when :class:`StopIteration` is raised),
|
As of MongoEngine 0.8 the querysets utilise a local cache. So iterating
|
||||||
:meth:`~mongoengine.queryset.QuerySet.rewind` will be called so that the
|
it multiple times will only cause a single query.
|
||||||
:class:`~mongoengine.queryset.QuerySet` may be iterated over again. The
|
|
||||||
results of the first iteration are *not* cached, so the database will be hit
|
|
||||||
each time the :class:`~mongoengine.queryset.QuerySet` is iterated over.
|
|
||||||
|
|
||||||
Filtering queries
|
Filtering queries
|
||||||
=================
|
=================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue