Is there a way to tell Mongo to pretty print output? Currently, everything is output to a single line and it\'s difficult to read, especially with nested arrays and document
Oh so i guess .pretty() is equal to:
db.collection.find().forEach(printjson);