mongodb offset limit command line code example Example: mongodb shell limit DBQuery.shellBatchSize = 5000