Documents
Query, browse, and manipulate MongoDB documents in Mingo with smart search, date shorthands, conditional formatting, and undo support.
Mingo's documents browser is the most convenient way to browse, view, and work with MongoDB documents.
Querying
Query History
Click the Query label to access your query history. Previous searches are tracked and easily retrievable.
Sort History
Click the Sort label to access sort history with default index-based sorting options.
Auto Suggestions
Mingo analyzes document structure and suggests field names, functions, and values as you type.
Format and Reset
- Format Query — button to format and indent queries for readability
- Reset Query — "X" button restores default settings or your saved default query
Keyboard Shortcuts
- ⌘Enter or Enter — submit query (depending on settings)
- ⌘R — refresh/reload documents
Named Queries
Create named saved queries or set collection-level defaults for frequently used filters.
Date Shorthands
Mingo supports human-readable date shorthands in queries:
- Durations (prefixed with
#):#lastWeek,#thisMonth,#last2days,#next3years - Moments (prefixed with
@):@2021-11-22for exact date matching
Smart Search
Mingo automatically adds missing quotes. For example, {user.lastName: "Pear"} becomes {"user.lastName": "Pear"}.
You can search indexed fields directly: Amsterdam or /amsterdam/i instead of writing structured queries.
Regular Expressions
Query using patterns like {firstName: /david/i} for case-insensitive matching.
Paste and Go
Press ⌘G to paste clipboard content and execute the query instantly.
Browsing Documents
Documents display 50 per page. Click a document to view its content. Click fields to expand subdocuments. ⌘+click expands recursively.
Table Columns
- Add — click "+" in column headers
- Remove — select "Unpin" from column header
- Sort — click column header for sorting options
- Align — adjust text alignment via column header menu
- Resize — use header icons for width options or drag handles
- Reorganize — drag headers to reorder
- Format — use "Customize" option for conditional formatting (experimental)
Manipulating Documents
Right-Click Actions
Right-click a document to access document-level options and operations.
Multi-Document Selection
- Select all — click table header checkbox or press ⌘A
- Individual — hover and press Space; Shift+click for ranges
- "Selecting all" includes documents not currently visible on the page
Field Actions
Right-click fields to access field-level actions:
- Edit values — double-click or press E while hovering
- Foreign Keys — click
_idvalues to find related documents in new tabs - Long Values — truncated values expand on click
- URLs — clickable links open in your default browser
Undo
Undo is available to reverse changes done by insert, update, or remove operations. Press ⌘Z to view recent changes and select actions to reverse.