{% extends request.isXmlHttpRequest ? '@WebProfiler/Profiler/ajax_layout.html.twig' : '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as helper %} {% block toolbar %} {% if collector.querycount > 0 or collector.invalidEntityCount > 0 %} {% set icon %} {% set status = collector.invalidEntityCount > 0 ? 'red' : collector.querycount > 50 ? 'yellow' %} {% if profiler_markup_version >= 3 %} {{ include('@Doctrine/Collector/database.svg') }} {% else %} {{ include('@Doctrine/Collector/icon.svg') }} {% endif %} {% if collector.querycount == 0 and collector.invalidEntityCount > 0 %} {% else %} {% endif %} {% endset %} {% set text %}
{% if collector.cacheEnabled %} {% else %} {% endif %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status|default('') }) }} {% endif %} {% endblock %} {% block menu %} {{ include('@Doctrine/Collector/' ~ (profiler_markup_version < 3 ? 'icon' : 'database') ~ '.svg') }} Doctrine {% if collector.invalidEntityCount %} {{ collector.invalidEntityCount }} {% endif %} {% endblock %} {% block panel %} {% if 'explain' == page %} {{ render(controller('Doctrine\\Bundle\\DoctrineBundle\\Controller\\ProfilerController::explainAction', { token: token, panel: 'db', connectionName: request.query.get('connection'), query: request.query.get('query') })) }} {% else %} {{ block('queries') }} {% endif %} {% endblock %} {% block queries %}No executed queries.
No database queries were performed.
Time▼ | Count | {% else %}#▲ | Time | {% endif %}Info | ||||
---|---|---|---|---|---|---|---|---|
{{ '%0.2f'|format(query.executionMS * 1000) }} ms ({{ '%0.2f'|format(query.executionPercent) }}%) |
{{ query.count }} | {% else %}{{ loop.index }} | {{ '%0.2f'|format(query.executionMS * 1000) }} ms | {% endif %}
{{ query.sql|doctrine_prettify_sql }}
Parameters: {{ profiler_dump(query.params, 2) }}
View formatted query
{% if query.runnable %}
View runnable query
{% endif %}
{% if query.explainable %}
Explain query
{% endif %}
{% if query.backtrace is defined %}
View query backtrace
{% endif %}
{% if query.runnable %}
{% endif %}
{% if query.explainable %}
{% endif %}
{% if query.backtrace is defined %}
|
There are no configured database connections.
There are no configured entity managers.
Second Level Cache is not enabled.
Second level cache information is not available.
No mapped entities.
No loaded entities.
Class | Mapping errors |
---|---|
{{ class. class}} |
{% if contains_errors %}
|
{{ label1 }} | {{ label2 }} |
---|---|
{{ key }} | {{ value }} |