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
    • AI Helper
    • Team Sharing
    • Index Manager
    • More Tools and Features
  • Solutions
  • Resources
    • Knowledge Base
    • MongoDB Tutorials & Courses
    • Tool/Feature Documentation
    • Blog
    • Community
    • Testimonials
    • Whitepapers
    • Reports
  • Contact us
    • Contact
    • Sales Support
    • Feedback and Support
    • Careers
    • About Us
  • Store
    • Buy Now
    • Preferred Resellers
    • Team Pricing
  • Download
  • My 3T
search

What are Studio 3T bookmarks for? #Studio3T_AMA

Posted on: 05/01/2022 by Dj Walker-Morgan

Q: Studio 3T has bookmarks but what do you actually save in a bookmark?

Welcome to the latest Studio 3T Ask Manatees Anything – #Studio3T_AMA. Want to know how to use Studio 3T to make your MongoDB life better? Just tweet and use #Studio3T_AMA or email [email protected].

A: Yes, just like a web browser can bookmark a web page’s URL for you to return to later, Studio 3T bookmarks can remember queries or aggregations for you. 

We previously looked at Query History and saw that it recorded each query expression, fields for projection and sort directives. Those three things make up a recordable query. The query history records them on an on-going basis. If there’s a query you want to keep and reuse, that’s where the Studio 3T bookmarks come in. 

To save any query as a bookmark, you need to click on the Bookmark icon, the star in the top right of the Query window.

The Bookmarks icon shown in the Query toolbar
Locating the Bookmark icon

If the Bookmark icon is white, the current query does not appear in the bookmarks. If the icon is gold, the query already has a bookmark. Clicking on the Bookmark icon prompts you for a name for your bookmark which can be any text you wish. 

The name entry dialog for setting the displayed name of bookmarks
Creating a Bookmarks name

Click ok and you have created a bookmark.

Once you’ve bookmarked a query, you can retrieve it from the bookmark menu, which appears when you click the downward point triangle to the right of the bookmark icon:

The bookmark dropdown menu shows the manager and any created bookmarks
The Bookmark menu

Managing Bookmarks

The named bookmarks turn up in the list after the Bookmark Manager. If you select the Bookmark Manager, you’ll see it looks very much like the Query History dialog and that’s because it is a tab in the same window as the Query History. It’s the Find Query Manager which unites bookmarks and query history:

Using the Query Manager
Managing Bookmarks with the Query Manager

Here you can see the query we just bookmarked, when we bookmarked it and, below that, the query itself. From here you can edit the bookmark where you can rename the bookmark or manually adjust the query parameters. 

The edit bookmark dialog lets you modify bookmarks directly
Editing Bookmarks in the Query Manager

If you have a lot of changes to make, it’s probably easier to go to the bookmark, edit the query with the Visual Query Builder (and verify it). Then you can just bookmark again. 

The edit dialog shows exactly what Studio 3T stores with a bookmark. What is worth noticing is what isn’t stored with a query.

The Magic Of Bookmarks

There is something deliberately missing from the bookmark, the name of the collection (and database connection) of the original query. This means we can apply the a bookmark to any collection. Of course, the collection needs to have the same field names to work but you can still apply a bookmark and then edit the query to match the new collection’s schema. 

By not storing the collection and database name, bookmarks are able to be a cross database template for your queries. You can create a library of your base queries and apply them before you start tuning them for particular results – for example, you may regularly want to project only a particular set of fields and sort them. You’ll notice that projection and sort settings are part of the bookmark and you can bookmark an empty query with those settings.

Queries, Scripts, SQL and Aggregation

The Query bar is just one of the places you can find the Bookmarks icon. You can also find it in the Aggregation Editor where it you can used ir to bookmark the whole aggregation pipeline for later reuse. Unlike query bookmarks, this does save the collection name in the bookmark. When you use it on a different collection, Studio3T automatically swaps in the name of the current collection. There are also bookmarks in Intellishell, where you can bookmark the entire script, and in SQL query where you can bookmark the text of the SQL query. Each one of these bookmark managers is a separate set of bookmarks, designed to be appropriate to the tool you are using.


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

Dj Walker-Morgan

Dj has been around since Commodore had Pets and Apples grew everywhere. With a background in Unix and development, he's been around the technology business writing code or writing content ever since.

Related articles

  • Doing Multiple MongoDB Exports At Once With Studio 3T #Studio3T_AMA
  • What’s in the Studio 3T Operations Pane? #Studio3T_AMA
  • How do I clean up a dataset and schema with Studio 3T? – #Studio3T_AMA
  • More Dataset And Schema Clean Ups With Studio 3T – #Studio3T_AMA
  • Where’s my full Studio 3T Aggregation Explanation? #Studio3T_AMA

Tags

2022 academy aggregation AMA atlas Certification christmas community connections culture date tags events export features hackolade import intellishell In Use JSON knowledge base migration modelling mongodb mongoodb mongosh My 3T productivity product management query regex releases schema security SQL Studio 3T studio3t tasks time series tips updates webinar windows

Browse by MongoDB topic

  • Connecting to MongoDB
  • Database Administration & Security
  • Getting Started with MongoDB
  • Getting Started with Studio 3T
  • Import/Export
  • Job Automation & Scheduling
  • MongoDB Aggregation Framework
  • MongoDB/Studio 3T Workshops
  • Performance
  • Query & CRUD Operations
  • Reference
  • Schema
  • Studio 3T Licensing
  • Support and other resources
  • Working with MongoDB & SQL
  • Working with MongoDB Atlas

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
  • White Papers
  • Testimonials
  • Discounts

Company

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

© 2023 3T Software Labs Ltd. All rights reserved.

  • Privacy Policy
  • Cookie settings
  • Impressum

We value your privacy

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 ("analytics and marketing") and to provide you with additional functions (“functional”). 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.

By clicking “Accept all”, you consent to the storage of cookies and the processing of personal data for these purposes, including any transfers to third countries. By clicking on “Decline all”, you do not give your consent and we will only store cookies that are necessary for our website. You can customize the cookies we store on your device or change your selection at any time - thus also revoking your consent with effect for the future - under “Manage Cookies”, or “Cookie Settings” at the bottom of the page. You can find further information in our Privacy Policy.
Accept all
Decline all
Manage cookies
✕

Privacy Preference Center

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 ("analytics and marketing") and to provide you with additional functions (“functional”). 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 our Privacy Policy.

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.

Google Analytics

Google Ads

Bing Ads

Facebook

LinkedIn

Quora

Hotjar

Reddit

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.

HubSpot

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
✕