Knowledge base · Studio 3T Web IDE

Studio 3T Web IDE: Visual Query Builder

By Donovan Kinney · Updated

The Visual Query Builder assembles MongoDB queries through a point-and-click interface, creating complex find calls without the need to write any query syntax, accessible to technical and non-technical users alike. In any Explore tab, use the Editor / Visual Builder toggle in the top-right corner to switch modes.

Building a query

Each condition is a row: pick a field, an operator (equals, greater than or equal to, and so on), and a value. Combine conditions with Match all / Match any, and use Add field or group to nest condition groups for more involved logic.

There are two ways to add conditions:

  • Manually: add a row and fill in field, operator, and value.
  • Drag and drop: drag a field straight from the results area (table or JSON view) into the drop zone. The condition is pre-filled with that field and value.

Press Run to execute; results appear beside the builder, so you can refine conditions and re-run without switching views.

Round-tripping with the editor

The builder and the code editor edit the same query. Write { "year": { "$gte": 2000 }, "genres": "Drama" } in the editor and switch to the Visual Builder. It appears as two condition rows. Adjust a dropdown and switch back. The code reflects the change. Use whichever mode fits the moment.

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes, including personalized advertising (“performance”), to provide you with additional functions (“functional”), and to show content from social media platforms, such as embedded videos (“social media”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in section 9 of our Privacy Policy.

Manage consent preferences