{% extends app.request.isXmlHttpRequest ? 'WebProfilerBundle:Profiler:ajax_layout.html.twig' : 'WebProfilerBundle:Profiler:layout.html.twig' %} {% block toolbar %} {% set icon %}
{% if collector.querycount > 0 %} {% endif %} {% if collector.invalidEntityCount > 0 %} {% endif %} {% if collector.cacheEnabled %} {% endif %} {% endset %} {% set text %} {% if collector.cacheEnabled %} {% endif %} {% endset %} {% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} Doctrine {{ collector.querycount }} {{ '%0.0f'|format(collector.time * 1000) }} ms {% endblock %} {% block panel %} {% if 'explain' == page %} {{ render(controller('DoctrineBundle:Profiler:explain', { 'token': token, 'panel': 'db', 'connectionName': app.request.query.get('connection'), 'query': app.request.query.get('query') })) }} {% else %}No queries.
{% else %}
#▲ | Time | Info |
---|---|---|
{{ loop.index }} | {{ '%0.2f'|format(query.executionMS * 1000) }} ms |
{{ query.sql|doctrine_minify_query }}
Parameters: {{ query.params|yaml_encode }} [Display runnable query] {% if query.explainable %} [ Explain query ] {% else %} This query cannot be explained {% endif %} {% if query.explainable %} {% endif %} |
No connections.
{% endif %}No entity managers.
{% endif %}No cache.
{% endif %}No loaded entities.
{% else %}Class | Mapping errors |
---|---|
{{ class }} |
{% if collector.mappingErrors[manager] is defined and collector.mappingErrors[manager][class] is defined %}
|