After you connect to your cluster, you can load saved queries from the My Queries view. This page explains how to add and view favorite queries.
Save a Favorite Query
You can favorite a query for future use. If you load a favorite query, you can change it without changing the original saved copy.
To add a query to your favorites:
View Saved Queries
After you connect to your cluster, you can view your saved queries and aggregation pipelines on the My Queries tab.
Note
To learn how to save and view aggregation pipelines, see:
Use the My Queries Tab
When you click a saved or favorite query tile, Atlas opens the Documents tab with the filter loaded.
In the My Queries tab, you can also click a saved aggregation pipeline tile to open the Aggregations tab with the pipeline loaded.
Use the Favorites Tab
You can also view favorite queries from the Favorites tab from in the Documents view. To open the Favorites tab:
Click the Favorites button in the past queries pane.
Select your favorited operation.
If your favorited operation is a query, the Favorites list view only displays a Filter statement, copy icon, and delete icon.
Note
Clicking a favorited query in the Favorites list view populates your Query Bar with that query.
If your favorited operation is a bulk update statement, the Favorites list view only displays a Filter statement, Update statement, copy icon, delete icon, and open new tab icon.
Note
If you click the open new tab icon, the Update Documents modal opens with the bulk update statement and the filter criteria. For details on bulk update statements in Atlas, see Modify Multiple Documents.
View Query History
For details on how to view query history see viewing recent query history.