diff --git a/src/Resources/views/Collector/mongo.html.twig b/src/Resources/views/Collector/mongo.html.twig index b5a3e5d..633a62b 100644 --- a/src/Resources/views/Collector/mongo.html.twig +++ b/src/Resources/views/Collector/mongo.html.twig @@ -24,7 +24,7 @@
{% endset %} @@ -34,11 +34,14 @@ {% block head %} {{ parent() }} {% endblock %} @@ -105,12 +112,10 @@# | -Method | -Collection | -Filters(click to expand) | -Query data (click to expand) | -Time | +# | +Info | +Data | +Time |
---|---|---|---|---|---|---|---|---|---|
{{ loop.index }} | -{{ q.method }} | -{{ q.collection }} | -
- {{ q.filters|json_encode(128) }}
+ |
+
+
+
|
+
+ {% if q.filters | length > 0 %}
+
+ Filters:
+ {% endif %}
+ {% if q.data | length > 0 %}
+ + +
+ Data:
+ {% endif %}
+ {% if q.options | length > 0 %}
+ + +
+ Options:
+ {% endif %}
+ + |
-
- {{ q.data|json_encode(128) }}
+ | + {{ "%.2f"|format(q.executionTime * 1000) }} ms | -{{ "%.2f"|format(q.executionTime * 1000) }} ms | |