Search code examples
couchdbpouchdb

Couchdb query view limit


When querying documents in a view, is there a limit to the number of documents that is shown if limit parameter is not mentioned?

This link does say that Columns can be a list of values, there is no set limit to the number of values or amount of data that columns can hold.

But not sure if it means we can put any number as limit or by default it has no limits. I just want to know if by default when the limit parameter is not mentioned, is there any limit to the number of outputted docs?


Solution

  • In CouchDB, the default behavior for a view is to return all results, so you must specify a limit parameter if you want to do some sort of pagination or return a subset of the data.