10000 Improved the image for Doctrine + Web Debug Toolbar · symfony/symfony-docs@a01e522 · GitHub
[go: up one dir, main page]

Skip to content

Commit a01e522

Browse files
javiereguiluzxabbuh
authored andcommitted
Improved the image for Doctrine + Web Debug Toolbar
1 parent 018b326 commit a01e522

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed
49.9 KB
Loading
-80.2 KB
Binary file not shown.

doctrine.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -662,19 +662,17 @@ to easily fetch objects based on multiple conditions::
662662

663663
.. tip::
664664

665-
When you render any page, you can see how many queries were made in the
666-
bottom right corner of the web debug toolbar.
665+
When rendering a page requires to make some database calls, the web debug
666+
toolbar at the bottom of the page displays the number of queries and the
667+
time it took to execute them:
667668

668-
.. image:: /_images/doctrine/web_debug_toolbar.png
669+
.. image:: /_images/doctrine/doctrine_web_debug_toolbar.png
669670
:align: center
670-
:scale: 50
671-
:width: 350
671+
:class: with-browser
672672

673-
If you click the icon, the profiler will open, showing you the exact
674-
queries that were made.
675-
676-
The icon will turn yellow if there were more than 50 queries on the
677-
page. This could indicate that something is not correct.
673+
If the number of database queries is too high, the icon will turn yellow to
674+
indicate that something may not be correct. Click on the icon to open the
675+
Symfony Profiler and see the exact queries that were executed.
678676

679677
Updating an Object
680678
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0