Working with the MongoDB grid

Keep an identifying field in view, narrow all matching documents, and compare two records while you move through a collection.

Sort by plan, then name

Sort the plan header, then right-click name and choose Add to sort in your preferred direction. The header arrows show direction and priority. Drag name ahead of plan in the sort summary to resolve names first. With keyboard focus on a summary field, use Left or Right Arrow.

Sort summary above six sample customer rows showing name descending first and plan ascending second
The sort summary reads from left to right. Moving a field preserves both directions.

Choose Remove from sort on a header to remove just that key, or Clear all sorting to remove the complete sort. For repeatable pages when two records tie on every displayed field, add a unique final key such as _id.

Keep a name visible as you scroll

Right-click name and choose Freeze column. Scroll sideways to other fields. Use Unfreeze column to release it. Drag a header to move it, drag its edge to resize it, or use Fit column to contents. Use Hide column and Show all columns to adjust the current layout. A hidden column still exists in the stored document. KeplerGrid remembers the collection layout when you reopen it.

Inspect two documents without losing the query

Use Inspector beside the results to open or close it. The panel starts closed and remembers your preference after a restart. Pin a document for comparison, select the second record and inspect the differing fields, including missing and explicit null values. Right-click an embedded array and choose Open as table. Select a row number to see its complete JSON, then go back to that row.

Follow a reference and return to the original record or compare two collections across environments.

Edit filters, sorts and projections as JSON

Open the filter or Sort & projection. Syntax highlighting separates field names, strings and typed values. Press Ctrl+Space for suggestions. Choose an exact BSON snippet when a field stores an ObjectId, Int64 or Decimal128. Suggestions use fields observed by the editor; an unlisted field can still exist in the collection.

{ "_id": { "$oid": "65f04e9a72a4b6109c000001" } }

Run a draft with ⌘/Ctrl+Enter. In Documents, ⌘/Ctrl+R refreshes the applied query and preserves an unrun draft. The document JSON view keeps BSON types visible. For a stage array you can edit or copy, open Pipeline JSON in Aggregation. Set your preferred dark palette in Preferences; Ink is the default.

Save a view or keep watch on a subset

After running your query, open Library → Saved views → Save current view. Reopening a view reruns the query and restores its grid layout. Pin it to make it easier to reach. Use Recheck twice to see which records entered or left between checks. Identity comparisons retain up to 100 matches within the storage budget. The view reports when it can compare only counts.

Recover a previous Documents query or share a parameterized investigation.