Features

Document Viewer

View and edit MongoDB documents with multiple display modes.

Overview

Sutido provides multiple ways to view your query results, each optimized for different tasks. Switch between views using the toolbar or keyboard shortcuts.

Table View

The default view displays results in a spreadsheet-like table format. This is ideal for:

  • Scanning large result sets
  • Comparing values across documents
  • Identifying patterns in your data

Table Features

  • Column sorting: Click headers to sort by that field
  • Row selection: Click to select, Shift+click for range, Ctrl+click for multi-select
  • Drill-down: Double-click cells containing objects or arrays to navigate into them
  • Context tracking: A breadcrumb shows your current position in nested data

Copying Data

From the table view, you can copy:

  • Single cell: Click a cell and press Ctrl+C
  • Entire row(s): Select rows and copy as JSON
  • Column values: Right-click a column header to copy all values

JSON View

View results as formatted, syntax-highlighted JSON. This view is best for:

  • Inspecting document structure
  • Viewing the complete document with all fields
  • Copying JSON data for use elsewhere

JSON Features

  • Expand/collapse: Click arrows to show or hide nested objects
  • Syntax highlighting: Keys, strings, numbers, and booleans are color-coded
  • Theme support: Matches your selected application theme

Tree View

A hierarchical tree representation of your documents. Useful for:

  • Understanding complex document structures
  • Navigating deeply nested data
  • Visual overview of document fields

Document Inspector

Double-click any document (or press F3) to open the Document Inspector. This window provides a focused view of a single document with two modes:

Read Mode

The default mode shows the document with full formatting. Navigate through nested objects and arrays with expand/collapse controls.

Edit Mode

Press Ctrl+J or click the Edit button to modify the document:

  • Edit field values directly
  • Add new fields
  • Delete existing fields
  • Modify nested objects and arrays

Click Save to persist your changes to the database, or Cancel to discard.

Note: The _id field cannot be modified. To change a document's ID, you must delete and recreate it.

Special Data Types

Sutido properly displays MongoDB's extended JSON types:

Type Display Format
ObjectId ObjectId("507f1f77bcf86cd799439011")
Date ISO 8601 format
Binary Base64 encoded string
Decimal128 Decimal string representation
Regular Expression /pattern/flags

Count Mode

Toggle Count Mode in the toolbar to count documents instead of fetching them. This is useful for checking how many documents match a query without loading the data:

// In count mode, this shows the count instead of documents
db.users.find({ status: "active" })

Next Steps

Learn to build complex queries with the Aggregation Builder.