从Schema查看MongoDB Compass中的20多个最新文档 [英] View more than 20 most recent documents in MongoDB Compass from Schema

查看:164
本文介绍了从Schema查看MongoDB Compass中的20多个最新文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够通过指南针在Mongo数据库中编辑一些文档,但是查询仅显示20个最新结果.我如何查看超过20个?或者至少查看下20个?

I want to be able to edit some documents in my Mongo DB from compass, but a query only shows 20 of the most recent results. How can I view more than that 20? Or at least view the next 20?

推荐答案

来自文档 ...

您可以在查询栏中指定查询过滤器.如果单击选项"以展开查询栏,则您还可以访问项目,查询的排序,跳过和限制选项.

You can specify a query filter in the query bar. If you click Options to expand the query bar, you also have access to the project, sort, skip, and limit options of the query.

因此,如果您单击Options,则可以:

So, if you click on Options you can:

  • 通过将Limit的值从默认值(20)更改为您选择的值
  • ,可获得20多个文档
  • 通过更改Skip
  • 的值来获取下一个 N 个文档
  • Get more than 20 docs by changing the value of Limit from the default (20) to a value of your choosing
  • Get the next N documents by changing the value of Skip

这篇关于从Schema查看MongoDB Compass中的20多个最新文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆