0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00

show 20 instead of 10 things

This commit is contained in:
Eliot Horowitz 2009-01-27 11:41:23 -05:00
parent 8b42f2ad0a
commit d969b31abd

View File

@ -140,7 +140,7 @@ DBQuery.prototype.explain = function(){
DBQuery.prototype.shellPrint = function(){
try {
var n = 0;
while ( this.hasNext() && n < 10 ){
while ( this.hasNext() && n < 20 ){
var s = tojson( this.next() );
print( s );
n++;