Added QuerySetNoCache and QuerySet.no_cache() for lower memory consumption (#365)
This commit is contained in:
parent
8131f0a752
commit
634b874c46
6 changed files with 1586 additions and 1478 deletions
|
|
@ -16,7 +16,9 @@ fetch documents from the database::
|
|||
.. note::
|
||||
|
||||
As of MongoEngine 0.8 the querysets utilise a local cache. So iterating
|
||||
it multiple times will only cause a single query.
|
||||
it multiple times will only cause a single query. If this is not the
|
||||
desired behavour you can call :class:`~mongoengine.QuerySet.no_cache` to
|
||||
return a non-caching queryset.
|
||||
|
||||
Filtering queries
|
||||
=================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue