A query bar that speaks shell syntax
Every collection has Filter, Project, Sort, Collation, Limit and Skip fields. Write them the way you would in the MongoDB shell: unquoted keys, ObjectId("…"), ISODate("…"), NumberDecimal("…"), regular expressions and comments all work.
The fields colour your syntax, match brackets and mark a mistake at the place it happens, before you run anything.
Completion that knows your data
Tallhorn samples the collection and suggests what it finds: field paths with their types and how often each one is present, query operators, BSON constructors, and the actual values of fields that only hold a few. You can turn suggestions off in Settings.
The Query Builder, for longer work
The Query Builder is the first row of the sidebar. Choose a connection, a database and, if you like, a collection, then write a statement such as db.orders.find(…).sort(…).limit(…), findOne, aggregate, countDocuments or distinct. Run it with ⌘↩ and cancel it with ⌘. (Command-period).
Results appear as a table, a tree or JSON, the same views as everywhere else in the app.
JavaScript with a mongosh-style db
When one statement is not enough, write a script: variables, functions, loops and classes, print and console output, and a db object that reaches other databases with db.getSiblingDB. Output goes to a Console tab and the final result to a Results tab.
Scripts can write, on connections that allow it. Tallhorn asks before each kind of write a script makes, and a read-only connection refuses them.
History and saved queries
Each collection keeps a searchable history of the queries you ran, which you can re-run or pin. Give the ones you reuse a name and save them, for one collection or globally, in folders. Saved queries stay on your Mac.