Navigation

View Documents

Use the Documents tab to view the documents inside of a collection. Two different views are available to access documents: List View and Table View.

List View is the default document view. To switch to Table View, click the Table button to the right of the List button to access the document Table View.

../../_images/table-btn.png

Select the appropriate tab based on whether you are viewing your documents in List or Table view:

List View shows documents as individual members in a list format.

../../_images/doc-view.png

Table view shows documents as rows of a table. The document fields are shown in the table columns.

../../_images/doc-table-view.png

You can reorder the table columns by clicking and dragging the column headings. Reordering the columns is a strictly cosmetic change and does not change the underlying data itself.

Expand Embedded Objects and Arrays

To toggle the expansion of embedded objects and array elements in a document, hover over the target document and click the arrow in the top-left corner.

../../_images/expand-doc-list-view.png

To view nested object fields and array elements, hover your cursor over a field with a value type of Object or Array and click the button with outward-pointing arrows which appears on the right side of the field.

Compass opens a new tab in the Table View corresponding to the nested element.

../../_images/table-view-expand-nested-elem.png

The following example displays the delays object nested within the flightStats collection documents. The new tab displays the two properties of the delay object: arrivalRunwayDelayMinutes and departureRunwayDelayMinutes.

../../_images/doc-table-view-nested.png

To return to the original table display, click on the first tab in the Table View which displays the name of your collection.

Encrypted Fields

Compass obscures document fields encrypted with Field-Level Encryption (FLE). Compass displays the values of these fields as a series of asterisks. You cannot modify the value of a field encrypted with FLE.

Encrypted field in list view

Compass obscures document fields encrypted with Field-Level Encryption (FLE). Compass displays the values of these fields as a series of asterisks. You cannot modify the value of a field encrypted with FLE.

Encrypted field in table view