Is there a way to format the find () return result under the MongoDB command line

  mongodb, question

Usedb.collection.find()Return data, each one takes up a whole row, there is no format at all, so it is very difficult to read. I wonder if there is any way to format the returned value, such as one row for each key-value.


Pretty Output