If you need to run a query in the MongoDB Admin UI and want to return more than the default 100 results, you can specify
DBQuery.shellBatchSize
For example, this projects query would return 500 results :
rs.slaveOk() DBQuery.shellBatchSize = 500; db.projects.find({}, {"_id": 1, "ownerId":1, "name": 1})
Note: Always use the Mongo Admin panel with caution, and if you have any questions please do not hesitate to reach out to your Domino team for best practices or assistance.
Comments
0 comments
Please sign in to leave a comment.