MongoDB

A MongoDB client that belongs on a Mac.

MongoDB does not speak SQL, so a query tab takes JSON command documents — anything db.runCommand accepts — and shows the reply as a grid, one row per document.

Free for the databases on your Mac. Pricing

MongoDB

What MongoDB gets.

The kinds of object that exist on an engine are the kinds the app shows. This is MongoDB's row of the features table, and what stands behind it.

EngineEditable gridDesignersUsers & RolesDiagram
MongoDBdocumentsconsole

Commands in, a grid out

A tab holds one or more JSON command documents, such as { "find": "users", "filter": {}, "limit": 10 }. Documents come back one row each, one column per key.

Guide: MongoDB and Redis commands

Edit documents in the grid

A plain find on one collection, with _id in the result and no projection, can be edited in place. Nothing you type reaches the server until you commit.

Guide: editing rows in the grid

Users and built-in roles

The sidebar lists the users, and what you grant them are MongoDB's built-in roles, such as read, readWrite and dbAdmin.

Guide: users and roles

mongosh, already signed in

A console tab is a real terminal running mongosh with the connection's host, port, user and password, through its SSH tunnel or proxy if it has one. The password is never put on the command line.

Guide: console tabs
Connect

Connect to MongoDB.

Click Add Connection under the sidebar and pick the MongoDB tile. Paste a connection string — the field reads mongodb:// addresses — and the fields fill themselves in, or type the host, port, database, user and password. Click Test Connection, then Add.

Default port
27017
SSL
Disabled, Verify Certificate
Servers
MongoDB 3.6 and newer, as the driver documents.
Console
mongoshbrew install mongosh
Notes
Queries are JSON command documents; see MongoDB and Redis commands. TLS cannot be combined with an SSH or proxy tunnel yet.

Guide: MongoDB in the docs Guide: your first connection

Every engine

One app for the rest of your databases, too.

Every feature is built against one driver contract, so the grid, the designers and the assistant work the same whichever server you open next.

Try it on your own database.

Free for the databases on your Mac, and never asking you to sign in.

Download DBClient

$brew install --cask az-code-lab/taps/dbclient