Increase display limit for a find in Mongo Shell

When doing a find request on a Shell Mongo, the display is automatically paginated and you’re getting this:

Type "it" for more

By default, the number of rows returned is 20. But this value can easily be changed by using this command:

DBQuery.shellBatchSize = 200;

You will now have 200 rows displayed per page.