From a2ac0e15a01b7a741fbb58813e9fc69bb3cfc70b Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Thu, 13 Apr 2023 14:18:34 +0200
Subject: [PATCH] DOC: Small rewording to make the documentation easier to
 understand.

---
 src/doc/tutorials/caching.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/doc/tutorials/caching.rst b/src/doc/tutorials/caching.rst
index 23a2be96..aad9a1dd 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``.
 
 
-- 
GitLab