How to Query MongoDB

So you’ve just downloaded Studio 3T and wondering how to start? How about using your query skills?

Querying MongoDB

Whether you’re a seasoned professional or a rough-around the edges rookie, querying in MongoDB has never been easier. Studio 3T offers the following ways to query MongoDB:

  • via SQL
  • the mongo Shell
  • through the Aggregation Editor
  • and lastly, the Visual Query Builder

Make use of the Visual Query Builder or write your query in SQL. Create an aggregate query in the Aggregation Editor or use the revamped IntelliShell to navigate through your data!

SQL Query – the familiarity of SQL in MongoDB

If you’re a SQL expert transitioning to MongoDB, you’ll feel right at home with the SQL Query feature.

Want more information? Check out our comprehensive guide to SQL in MongoDB

IntelliShell – the Responsive mongo Shell

For those accustomed to working in the mongo Shell, Studio 3T offers the IntelliShell – a mongo Shell with auto-completion of JavaScript functions, command helpers, and much, much more.

Here’s the full IntelliShell documentation.

Aggregation Editor – The MongoDB Aggregation Query Builder

The Aggregation Editor lets you build queries one stage at a time.

Want to start creating your first aggregation query in MongoDB? Here’s a tutorial that uses real-life data from the city of Chicago.

Visual Query Builder – Drag, Drop, and Query

The Visual Query Builder is the easiest way to begin querying.

If you’re new to MongoDB, use the Visual Query Builder to start building your first query. Even if you’re an experienced MongoDB user, you can still use the Visual Query Builder to build complex queries before testing them in the Aggregation Editor.


Updated on May 24, 2019

Was this article helpful?

Related Articles