Make Mongo shell always output pretty results
If you're getting tied of writing ".pretty()" after each command try this:
$ echo DBQuery.prototype._prettyShell = true >> .mongorc.js
Written by Jonah Werre
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
dominikgarber
81.15K
sativaware
80.22K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#