Skip to content

Improved the image for Doctrine + Web Debug Toolbar #7306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added _images/doctrine/doctrine_web_debug_toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/doctrine/web_debug_toolbar.png
Binary file not shown.
18 changes: 8 additions & 10 deletions doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -662,19 +662,17 @@ to easily fetch objects based on multiple conditions::

.. tip::

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

.. image:: /_images/doctrine/web_debug_toolbar.png
.. image:: /_images/doctrine/doctrine_web_debug_toolbar.png
:align: center
:scale: 50
:width: 350
:class: with-browser

If you click the icon, the profiler will open, showing you the exact
queries that were made.

The icon will turn yellow if there were more than 50 queries on the
page. This could indicate that something is not correct.
If the number of database queries is too high, the icon will turn yellow to
indicate that something may not be correct. Click on the icon to open the
Symfony Profiler and see the exact queries that were executed.

Updating an Object
~~~~~~~~~~~~~~~~~~
Expand Down