Tuesday, December 20, 2011
Print out more than 20 items in mongodb shell
When you're listing a large dataset in the shell you'll only see 20 items by default and a 'has more' text indicating that there are more.
If you want to change this limit you can use
DBQuery.shellBatchSize = 300
in the shell.
Post a Comment
Post Comments (Atom)