This is just a mongodb quick tip in regards to printing the result sets with proper formatting in the mongo interactive shell. Usually when you select documents in a collection using find() in the console, this is how the results are dumped - Just append pretty() to the find method. You may also add this [...]
The post MongoDB Pretty Print Result Objects in Mongo Interactive Shell appeared first on Code Theory.