Docs HomeMongoDB Compass

View Recent Queries查看最近的查询

You can view up to 20 of the most recent queries for that collection. 您最多可以查看该集合的20个最新查询。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:您还可以将鼠标悬停在查询上并执行以下操作:

ClickAction操作
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.要了解如何编写查询以筛选数据,请参阅查询数据