{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block head %} {{ parent() }} {% endblock %} {% block toolbar %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% set icon %} {% if profiler_markup_version == 1 %}
{% if collector.querycount > 0 %} {% endif %} {% else %} {{ include('@FOSElastica/Collector/icon.svg') }} {% if collector.querycount > 0 %} {% endif %} {% endif %} {% endset %} {% set text %} {% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if profiler_markup_version == 1 %} {% else %} {{ include('@FOSElastica/Collector/icon.svg') }} {% endif %} Elastica {% endblock %} {% block panel %}No queries were performed.
#▲ | Execution Time | Query Time | Info |
---|---|---|---|
{{ loop.index }} | {{ '%0.2f'|format(query.executionMS) }} ms | {{ '%0.2f'|format(query.engineMS) }} ms |
{% for data in query.data %}
{{ data|json_encode(constant('JSON_UNESCAPED_UNICODE')) }}{% endfor %}
Path: {{ query.path }}
{% if query.connection.transport in ['Http', 'Https'] %}{# cURL support only HTTP #}
{% endif %}
{% if query.backtrace is defined %}
{% endif %}
Query: {{ query.queryString|url_encode }} Method: {{ query.method }} ({{ query.connection.transport }} on {{ query.connection.host }}:{{ query.connection.port }}) Item count: {{ query.itemCount }} View formatted query {% if query.connection.transport in ['Http', 'Https'] %}{# cURL support only HTTP #} View cURL query {% endif %} {% if query.backtrace is defined %} View query backtrace {% endif %} |