Search code examples
mongodbmongodb-querymongodb-compass

View more than 20 most recent documents in MongoDB Compass from Schema


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?


Solution

  • From the docs ...

    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.

    enter image description here

    So, if you click on Options you can:

    • 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