Yes!

In your local.ini file, or in a local.d/*.ini file, add the following:

[mango]
default_limit = 100

Or whatever you want your limit to be.

Be sure you're pre-building indices in Mango first for best performance!

-Joan

----- Original Message -----
From: "Maggie Jiang" <maggie.ji...@tdameritrade.com>
To: user@couchdb.apache.org
Sent: Thursday, 8 March, 2018 11:57:54 AM
Subject: Updating default limit in /db/_find

Hello,

I was having issues with CouchDB not returning all objects and realized that 
the default limit is 25 when using the find option 
(http://docs.couchdb.org/en/2.1.1/api/database/find.html). Is there a way to 
set that to much higher as opposed to having to set the "limit" value every 
time?

Thanks,

Maggie

Reply via email to