Skip to content
Keepware Subscribe

Browse and query MongoDB in QuerentDB

Filter MongoDB documents in mongosh syntax, project and sort, run aggregations, update matching documents with an estimate first, and manage indexes in QuerentDB.

Part 8 of 13· Nov 11, 2026·4 min read

Video · 1:32 · narrated, with captions
Transcript

Open a collection. Click a MongoDB connection to open it. Its collections are listed on the left, each with an estimated document count. Pick reviews, and the documents show up, newest page first, twenty at a time.

Filter, project and sort. The filter uses the same syntax as mongosh. Let's find the one and two star reviews. Choose Find, and the count updates. Options sets a projection and a sort: just the product, the rating and the title, newest first.

Docs, JSON and Table. Each result is a document card, and the first one is open. Table lines the fields up in columns, and JSON shows the raw page.

Run an aggregation. For anything the filter can't do, open Statement. It takes mongosh commands: find, aggregate, the update and delete methods, indexes. This pipeline averages the rating for each product, and Format lays it out. Run it, and each product comes back as a document, best rated first.

Update matching documents. Back to browsing. Update matching changes every document the filter finds. Here, we flag the low ratings for follow-up. Before anything runs, QuerentDB shows the updateMany it will send and how many documents it will touch. Choose Run.

Indexes. Indexes lists the regular indexes, full-text search and vector search, each with New and Drop. On MongoDB Atlas, Atlas Search and Vector Search indexes show up here too.

QuerentDB, a desktop database client by Keepware, opens a MongoDB collection as pages of documents. Filter them with the same syntax as mongosh, choose a projection and a sort, and switch between document cards, JSON and a table. Statement runs any mongosh command, including aggregation pipelines; Update matching… and Delete matching… change every document the filter finds, after showing the updateMany or deleteMany and how many documents it will touch. The Fields, Indexes, Pipelines and Validator views cover the rest.

How do I filter documents?

Type a filter in Filter, the way you would in mongosh: unquoted keys, $ operators, ISODate(...), ObjectId(...) and regular expressions all work. Press Enter or choose Find. The count line shows how many documents match and how many are on this page.

Options sets a Projection (the fields to return) and a Sort; Apply and find runs it. Reset clears the filter, projection and sort.

The reviews collection filtered to ratings of 2 or less, with a projection and a sort

How do I change how documents are shown?

  • Docs: one card per document; the first is expanded. Each card has Expand, Copy JSON, Edit and Delete.
  • JSON: the page as raw JSON.
  • Table: one column per field across the page, with a dash where a document doesn’t have it; click a header to sort.

Pages hold 20, 50 or 100 documents; use ‹ Previous and Next › to move through them.

The filtered reviews as a table

How do I run an aggregation or another mongosh command?

Choose Statement. It takes mongosh commands on the collection and the database: find, aggregate, countDocuments, distinct, the insert, update, replace and delete methods, index commands, runCommand and more, plus show collections and use <db>. Format lays a statement out, the expand button opens a larger editor, and an aggregate([...]) can be kept with Save as pipeline…. Back to browsing returns to the documents.

An aggregation in Statement: the average rating per product

Commands QuerentDB doesn’t run are refused with a message, such as db.shutdownServer() is not supported.

How do I change many documents at once?

Update matching… shows the current filter and how many documents it matches; enter the update (with $ operators such as $set) and choose Update…. Before anything runs, QuerentDB shows the updateMany it will send, the read-write account it switches to, and about how many documents it will affect; choose Run to go ahead. Delete matching… works the same way with deleteMany.

Update matching documents: the updateMany and about 37 documents affected

In a protected environment you also type the environment’s name. A single document is edited with Edit (a replaceOne) or added with Add (an insertOne); Import adds documents from a JSON or NDJSON file, or pasted text, as one insertMany.

How do I export documents?

Export saves the documents that match the current filter, with its projection and sort, as CSV or JSON, up to your workspace’s export limit. In a team, it appears only for roles that may export data.

What do Fields, Indexes, Pipelines and Validator show?

  • Fields samples up to 1,000 documents and lists each field with its type, whether it’s always present, and how often it appears.
  • Indexes has three tabs: Indexes (regular indexes, with their keys and options such as Unique, sparse and TTL), Full-text search and Vector search. New index… creates one, and every index but _id_ can be dropped. Atlas Search and Vector Search indexes need MongoDB Atlas, or a self-managed cluster with mongot; elsewhere QuerentDB says so.
  • Pipelines keeps saved aggregation pipelines per collection, with Run; in a team they’re shared.
  • Validator sets, edits or removes the collection’s validator, with its level (All writes or Only valid documents) and what happens on failure (Reject or Log only).

Indexes on the reviews collection: regular, full-text and vector search tabs

The ⋯ menu next to a collection adds New index…, New view on it…, Rename…, Empty… and Drop collection…; the database menu in the toolbar has New database… and Drop database. Every form shows the command it will run.

FAQ

Which MongoDB versions does QuerentDB support?

MongoDB 4.4 to 8, including replica sets and MongoDB Atlas, and mongodb+srv:// addresses through an SSH tunnel. See Supported databases and versions.

Is there a limit on how many documents a statement returns?

A find without a limit gets one automatically, and results are capped at the workspace’s Max rows per query (10,000 by default); the result says when it’s truncated.

Can I browse a collection without being able to change it?

Yes. Browsing and queries use the connection’s read-only account; only writes switch to the read-write account, and in a team, read-only members don’t get it at all.