Reads

{% if queries %} {% for query in queries %} {% endfor %}
Time (ms) Operation Collection Query Ordering Skip Limit Stack Trace
{{ "%.4f"|format(query.time|float) }} {{ query.operation|title }} {{ query.collection }} {% if query.query %}
{{ query.query|format_dict|highlight("javascript")|safe }}
{% endif %}
{% if query.ordering %}
{{ query.ordering }}
{% endif %}
{{ query.skip|default("") }} {{ query.limit|default("") }} Toggle
{% for line in query.stack_trace %} {% endfor %}
Line File Function Code
{{ line.1 }} {{ line.0|embolden_file }} {{ line.2 }} {{ line.3|highlight("python")|safe }}
{% else %}

No queries recorded

{% endif %}

Inserts

{% if inserts %} {% for insert in inserts %} {% endfor %}
Time (ms) Document Safe Stack Trace
{{ "%.4f"|format(insert.time|float) }}
{{ insert.document|format_dict(120)|highlight("javascript")|safe }}
{{ insert.safe }} Toggle
{% for line in insert.stack_trace %} {% endfor %}
Line File Function Code
{{ line.1 }} {{ line.0|embolden_file }} {{ line.2 }} {{ line.3|highlight("python")|safe }}
{% else %}

No inserts recorded

{% endif %}

Updates

{% if updates %} {% for update in updates %} {% endfor %}
Time (ms) Query Update Safe Multi Upsert Stack Trace
{{ "%.4f"|format(update.time|float) }}
{{ update.spec|format_dict(120)|highlight("javascript")|safe }}
{{ update.document|format_dict(120)|highlight("javascript")|safe }}
{{ update.safe }} {{ update.multi }} {{ update.upsert }} Toggle
{% for line in update.stack_trace %} {% endfor %}
Line File Function Code
{{ line.1 }} {{ line.0|embolden_file }} {{ line.2 }} {{ line.3|highlight("python")|safe }}
{% else %}

No updates recorded

{% endif %}

Removes

{% if removes %} {% for remove in removes %} {% endfor %}
Time (ms) Query / Id Safe Stack Trace
{{ "%.4f"|format(remove.time|float) }}
{{ remove.spec_or_id|format_dict(120)|highlight("javascript")|safe }}
{{ remove.safe }} Toggle
{% for line in remove.stack_trace %} {% endfor %}
Line File Function Code
{{ line.1 }} {{ line.0|embolden_file }} {{ line.2 }} {{ line.3|highlight("python")|safe }}
{% else %}

No removes recorded

{% endif %}