Skip to content
Studio 3T - The professional GUI, IDE and client for MongoDB
  • Tools
    • Aggregation Editor
    • IntelliShell
    • Visual Query Builder
    • Export Wizard
    • Import Wizard
    • Query Code
    • SQL Query
    • Connect
    • Schema Explorer
    • Compare
    • SQL ⇔ MongoDB Migration
    • Data Masking
    • Task Scheduler
    • Reschema
    • More Tools and Features
  • Solutions
  • Resources
    • Knowledge Base
    • MongoDB Tutorials & Courses
    • Tool/Feature Documentation
    • Reports
    • Case Studies
    • Whitepapers
    • Blog
    • Testimonials
    • Community
  • Contact us
    • Contact
    • Sales Support
    • Feedback and Support
    • Career
    • About Us
  • Store
    • Buy Now
    • Preferred Resellers
    • Team Pricing
  • My License
  • Download
search

Studio 3T Knowledge Base

  • Documentation
  • Tutorials
  • Workshops
Take the fastest route to learning MongoDB. Cover the basics in two hours with MongoDB 101, no registration required.
Start the free course

Query Manager

Posted on: 15/10/2020 (last updated: 04/08/2021) by Kathryn Vargas
tl;dr
Shortcuts

Query Manager keeps track of your query history and bookmarks in Studio 3T.

Query History

Search query history – Ctrl + F (⌘+ F)
Select query – Enter
Remove selected query – Delete (Fn + Backspace)
Clear query history – Shift + Delete (Shift + Fn + Backspace)

Bookmarks

Search bookmarks – Ctrl + F (⌘+ F)
Select bookmark – Enter
Edit selected bookmark – Ctrl + E (⌘ + E)
Remove from query history – Delete (Fn + Backspace)
Clear query history – Shift + Delete (Shift + Fn + Backspace)

You can find the History and Bookmarks tabs under Query Manager, which you can access in SQL Query, IntelliShell, Aggregation Editor, and the Collection Tab.

Query Manager across the app

Bookmark a query

1. Run a query in SQL Query, IntelliShell, Aggregation Editor, or the Visual Query Builder.

2. Click on the star icon at the top-right corner.

Bookmark a MongoDB query
Bookmarking a query built through the Visual Query Builder in the Collection Tab

3. Name the bookmark.

4. Click OK.

View bookmarked queries

1. While in SQL Query, IntelliShell, Aggregation Editor, or the Collection Tab, click on the down arrow next to the star icon and choose Bookmark Manager.

Bookmark Manager in Studio 3T

2. This will open the Bookmarks tab in the Query Manager where you can see all your bookmarks.

Bookmarks tab in the Query Manager

From here, you can select the bookmark to run the query, edit the bookmark, or select the bookmark as the default query.

Note that you can only see the bookmarks that were created within a particular feature. For example, the SQL Query Manager will only show bookmarked SQL queries. It won’t include bookmarks you’ve created in Aggregation Editor, IntelliShell, or Visual Query Builder.

View your query history

1. While in SQL Query, IntelliShell, Aggregation Editor, or the Collection Tab, click on the ellipsis icon.

Query history icon

2. This will open the History tab in Query Manager.

SQL Query History

From here, you can search through your history, order queries by execution date and time, and of course, select a query to be run.

Like bookmarks, you can only see the query history for a particular feature. For example, the SQL Query Manager will only list SQL queries, not aggregation or find queries.


How helpful was this article?
This article was hideous
This article was bad
This article was ok
This article was good
This article was great
Thank you for your feedback!

About The Author

Kathryn Vargas

When she's not writing about working with MongoDB, Kathryn spends her free time exploring Berlin's food scene, playing the drums, learning languages (current mission: German), and hiking.

Article navigation

Related articles

  • What’s New in Studio 3T 2020.9 | Query Manager, Elapsed Time Indicator & More
  • What’s New in Studio 3T 2020.3 | Improvements to Session Restore, Connection Manager & More
  • What’s New in Studio 3T 2020.4 | Introducing License Manager, IBM DB2 Migration Support, Export Wizard Improvements
  • The License Manager and Proxy Servers
  • Connection Manager

Studio 3T

MongoDB Enterprise Certified Technology PartnerSince 2014, 3T has been helping thousands of MongoDB developers and administrators with their everyday jobs by providing the finest MongoDB tools on the market. We guarantee the best compatibility with current and legacy releases of MongoDB, continue to deliver new features with every new software release, and provide high quality support.

Find us on FacebookFind us on TwitterFind us on YouTubeFind us on LinkedIn

Education

  • Free MongoDB Tutorials
  • Connect to MongoDB
  • Connect to MongoDB Atlas
  • Import Data to MongoDB
  • Export MongoDB Data
  • Build Aggregation Queries
  • Query MongoDB with SQL
  • Migrate from SQL to MongoDB

Resources

  • Feedback and Support
  • Sales Support
  • Knowledge Base
  • FAQ
  • Reports
  • Case Studies
  • White Papers
  • Testimonials
  • Discounts

Company

  • About Us
  • Blog
  • Careers
  • Legal
  • Press
  • Privacy Policy
  • EULA

© 2022 3T Software Labs GmbH. All rights reserved.

  • Privacy Policy
  • Cookie settings
  • Impressum
When you click "Accept", you are agreeing to cookies being on your device. They may improve site navigation, site usage analysis, or the relevance of messages. It is up to you which cookies are enabled. Read our Privacy Policy.
Manage cookies
Accept
✕

Privacy Preference Center

A cookie is a small file of letters and numbers that is downloaded on to your computer when you visit a website. Cookies are used by many websites and can do a number of things, eg remembering your preferences, recording what you have put in your shopping basket, and counting the number of people looking at a website. In the form below you can choose which cookies, except for essential cookies, to allow or disable.

Accept all cookies

Manage consent preferences

Essential cookies are strictly necessary to provide an online service such as our website or a service on our website which you have requested. The website or service will not work without them.

Performance cookies allow us to collect information such as number of visits and sources of traffic. This information is used in aggregate form to help us understand how our websites are being used, allowing us to improve both our website’s performance and your experience.

Functional cookies collect information about your preferences and choices and make using the website a lot easier and more relevant. Without these cookies, some of the site functionality may not work as intended.

Social media cookies are cookies used to share user behaviour information with a third-party social media platform. They may consequently effect how social media sites present you with information in the future.

Accept selected