cloudant / nodejs-cloudant

Cloudant Node.js client library
Apache License 2.0
255 stars 90 forks source link

find() limit maxes at 25? #379

Closed ghost closed 5 years ago

ghost commented 5 years ago

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