Docs HomeMongoDB Compass

Manage Documents管理文档

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, clone, and delete documents in your selected collection or view.在“文档”选项卡中,您可以查看插入修改克隆删除所选集合或视图中的文档。

Note

For query result sets larger than 1000 documents, Compass shows a sampling of the results. 对于大于1000个文档的查询结果集,Compass会显示结果的采样。Otherwise, Compass shows the entire result set.否则,Compass将显示整个结果集。

For details on sampling, see Sampling.有关采样的详细信息,请参阅采样

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