Docs Menu

Docs HomeView & Analyze DataMongoDB Compass

View Recent Queries

You can view up to 20 of the most recent queries for that collection. Click a query in the list to populate the query bar with that query.

Compass query history
click to enlarge

You can also hover over a query and perform the following actions:

Save the query as a favorite. Specify a name for the query and click Save.
Copy the query to the clipboard.
Remove the query from the Recent list.


See also:

To learn how to write queries to filter your data, see Query Your Data.

←  Managing Saved Queries and AggregationsQuery with Natural Language →