Skip to content

Commit

Permalink
feature #4842 Add meaning of yellow icon for number of queries (Xitas…
Browse files Browse the repository at this point in the history
…oChris)

This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4842).

Discussion
----------

Add meaning of yellow icon for number of queries

Some people (me included) have been confused about why the number of queries is sometimes displayed in a yellow color. Added explanation for this.

Number is from https://stackoverflow.com/questions/17859176/what-does-the-yellow-color-warning-icon-mean-in-symfony2-web-profiler

Commits
-------

5e687b2 changes as suggested by WouterJ in pull request #4842
5ce0f3d Add meaning of yellow icon for number of queries
  • Loading branch information
weaverryan committed Mar 24, 2015
2 parents 6719802 + 5e687b2 commit ade7ba4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,9 @@ 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.

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
~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit ade7ba4

Please sign in to comment.