In mongodb shell, I would like to retrieve the next elements for a query.
cursor = db.collection.find({ok: true});
Now, I see 20 results.
I would like to see the next results.
Reference: mongodb.org
After the find, just run: it
Note you can increase the batch size, e.g.
DBQuery.shellBatchSize = 100
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With