MongoDB Tutorial 21 : Increasing Shell batch Size

By default Mongo prints out first 20 documents IIRC. If you want more you can define new value to batch size in Mongo shell, e.g.
DBQuery.shellBatchSize = 100

Comments

Popular posts from this blog

Unix Tutorial 14 : Text Processing Commands 1

Unix Tutorial 12 : Loop Types

Unix Tutorial 16 : Command Line Arguments