{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %} {% block toolbar %} {# the web debug toolbar content #} {% set icon %}
{% endset %} {% set text %} {% endset %} {% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} {# the menu content #} Propel {{ collector.querycount }} {{ '%0.0f'|format(collector.time * 1000) }} ms {% endblock %} {% block panel %} {# the panel content #}SQL queries |
---|
No queries. |
{{ query.sql|format_sql|raw }}
{% if app.request.query.has('query') and app.request.query.get('query') == i %}
{% render controller('PropelBundle:Panel:explain', {
'token': token,
'panel': 'propel',
'query': app.request.query.get('query'),
'connection': app.request.query.get('connection')
}) %}
{% endif %}
Time: {{ query.time }} - Memory: {{ query.memory|format_memory }} - Connection: {{ query.connection }} -
Stacktrace
{% if app.request.query.get('query', -1) != i %}
- Explain the query
{% endif %}
{% for trace in query.stackTrace %}
{{ trace }}
{% endfor %}
|