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

MongoDB Tutorial 10 : Operations on Collections

Hive Tutorial 31 : Analytic Functions

Unix Tutorial 9 : Vi Editor