Jak zobaczyć dokument Mongo w trybie ładnym

//To see a random document from collection in a pretty way:
db.collection.finOne({})

//To see filter results in a pretty way:
db.collection.find({filter}).pretty()
Upvote answer :-)