Docs Menu

Docs HomeMongoDB 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

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

Click
Action
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.

Tip

See also:

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

←  Managing Saved Queries and AggregationsManage Indexes →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.