The limit option in .find() does not work as expected. If you try to set the limit to anything above 25, it maxes at 25. However, setting the limit below 25 works.
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
When I do db.find({selector:{}, limit:30}) it only returns 25 documents. Why is this?
Bug Description
The limit option in
.find()
does not work as expected. If you try to set the limit to anything above 25, it maxes at 25. However, setting the limit below 25 works.1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
When I do
db.find({selector:{}, limit:30})
it only returns 25 documents. Why is this?2. What you expected to happen
I should receive 30 documents
3. What actually happened
I only receive 25
Environment details