diff --git a/src/doc/tutorials/caching.rst b/src/doc/tutorials/caching.rst index 23a2be96d01224e28778f187b43e5ce3c79c125b..aad9a1ddbd9e93a3cd06887eaffcf956c3c5bea6 100644 --- a/src/doc/tutorials/caching.rst +++ b/src/doc/tutorials/caching.rst @@ -51,6 +51,8 @@ have entities on hand from previous queries that you want to add. # If you now use IDs that were in items, they are taken from the cache. e1 = cached_get_entity_by(eid=10001) -For the cached entity getter functions (``cached_get_entity_by``) you need to set ``unique=True``. +When filling the cache with Entity objects for ``cached_get_entity_by``, you need to set +``unique=True``, whereas the cache for ``cached_query`` should be filled with Container object and +``unique=False``.