Docs Home / Compass / Interact with Your Data

Manage Documents in Compass在Compass中管理文档

Documents are individual records in a MongoDB collection and are the basic unit of data in MongoDB.文档是MongoDB集合中的单个记录,是MongoDB中的基本数据单位。

From the Documents tab, you can view, insert, modify, modify multiple, clone, delete, and delete multiple documents in your selected collection or view.在“文档”选项卡中,您可以在所选集合或视图中查看插入修改修改多个文档克隆删除删除多个文档

Note

For query result sets larger than 25 documents, Compass shows paginated results. By default, pages display 25 documents at a time. To change the number of displayed documents per page, open the drop-down menu under the query bar and select one of the following values:对于大于25个文档的查询结果集,Compass会显示分页结果。默认情况下,页面一次显示25个文档。要更改每页显示的文档数,请打开查询栏下的下拉菜单,然后选择以下值之一:

  • 25
  • 50
  • 75
  • 100

From the query bar, you can specify a query to filter the displayed documents. Click Options to specify query options.查询栏中,您可以指定一个查询来筛选显示的文档。单击“选项”以指定查询选项。