{% extends 'layout.html' %} {% block title %}{{ collectionName }}{% endblock %} {% block head %} {% if editorTheme != "default" %} {% endif %} {% endblock %} {% block breadcrumb %}
  • Home /
  • {{ dbName }} /
  • {{ collectionName }}
  • {% endblock %} {% block content %} {% if !settings.read_only %}

    New Document

    {% endif %}

    {% if documents.length == 0 %}

    No documents found.

    {% else %} {% if collectionName != 'system.indexes' %} {% endif %} {% for document in documents %}

     

    {% if !settings.read_only %}


    {% endif %}
    {% endfor %} {% endif %} {# # Not very useful, since it doesn't show correct index names # Could use db.coll.getIndexes(), but that is an extra query on every collection page

    Indexes

    {% if stats.nindexes == 0 %}

    No indexes found.

    {% else %} {% for size in stats.indexSizes %} {% endfor %}
    {{ loop.key }} {{ size }} bytes
    {% endif %} #}
    {% if !settings.read_only %}

    Rename Collection

    {{ dbName }} .

    Delete Collection

    {% endif %}

    Export Collection

    {% endblock %} {% block sidebar %} {% endblock %}