Show more data on ide

When I insert this comand:

db.listingsAndReviews.aggregate([{"$match":{}},{"$project":{"room_type":1,"_id":0}}]).it()

The ide shows
Type “it” for more
How to show more data of a query?

Well, you type it (for “iterate”) and it shows you more!

But if you are asking, “How can I make mongosh show more data in one batch?”, then use a mongosh configuration file and set displayBatchSize to some large number

2 Likes