how to print more than 20 documents mongo shell code example
Example 1: how to print more than 20 documents mongo shell
db.collection.find().toArray()
Example 2: how to print more than 20 documents mongo shell
DBQuery.shellBatchSize = 300
db.collection.find().toArray()
DBQuery.shellBatchSize = 300