From a938b6d7638c47d0dfc336730e417fc313fb2ba9 Mon Sep 17 00:00:00 2001 From: Piotr Potrawiak Date: Wed, 20 Sep 2023 13:15:47 +0200 Subject: [PATCH] Update entity.rst query_builder option - more clear explained --- reference/forms/types/entity.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/entity.rst b/reference/forms/types/entity.rst index 884ab26a0d0..abd335d6eb9 100644 --- a/reference/forms/types/entity.rst +++ b/reference/forms/types/entity.rst @@ -49,7 +49,7 @@ Using a Custom Query for the Entities If you want to create a custom query to use when fetching the entities (e.g. you only want to return some entities, or need to order them), use -the `query_builder`_ option:: +the `query_builder`_ option. Please note, that `query_builder` is used to compose data, not fetch real final results:: use App\Entity\User; use Doctrine\ORM\EntityRepository;