From 48e85ae3a45f4ad01248a68a7b80fd572143659d Mon Sep 17 00:00:00 2001 From: XitasoChris Date: Thu, 15 Jan 2015 14:45:49 +0100 Subject: [PATCH 1/2] Add meaning of yellow icon for number of queries --- book/doctrine.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/book/doctrine.rst b/book/doctrine.rst index 0f3f62086d0..ffb107f43fe 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -641,6 +641,11 @@ to easily fetch objects based on multiple conditions:: If you click the icon, the profiler will open, showing you the exact queries that were made. + + If you make more than 50 queries on a page, the icon will turn yellow to + let you know that you are making a lot of requests to the database. This + is only a warning and does not have any effect on the execution of further + queries. Updating an Object ~~~~~~~~~~~~~~~~~~ From 05d4043035c64028099577d75a268332f183daf7 Mon Sep 17 00:00:00 2001 From: XitasoChris Date: Mon, 23 Mar 2015 08:51:49 +0100 Subject: [PATCH 2/2] changes as suggested by WouterJ in pull request #4842 --- book/doctrine.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/book/doctrine.rst b/book/doctrine.rst index ffb107f43fe..0906d7aaab2 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -642,10 +642,8 @@ to easily fetch objects based on multiple conditions:: If you click the icon, the profiler will open, showing you the exact queries that were made. - If you make more than 50 queries on a page, the icon will turn yellow to - let you know that you are making a lot of requests to the database. This - is only a warning and does not have any effect on the execution of further - queries. + The icon will turn yellow if there were more than 50 queries on the + page, this could indicate that something is not correct. Updating an Object ~~~~~~~~~~~~~~~~~~