db.foo.find().limit(300)
won't do it... it still prints out 20
db.foo.find().toArray()
db.foo.find().forEach(printjson)
will both print out very expanded view of each document instead of the 1-line version for find():
db.foo.find().limit(300)
won't do it... it still prints out 20
db.foo.find().toArray()
db.foo.find().forEach(printjson)
will both print out very expanded view of each document instead of the 1-line version for find():
You can use it
inside of the shell to iterate over the next 20 results. Just type it
if you see "has more" and you will see the next 20 items.