Couchdb 查询视图限制
Couchdb query view limit
在视图中查询文档时,如果未提及 limit
参数,是否对显示的文档数有限制?
这个 link 确实说 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.
但不确定这是否意味着我们可以将任何数字作为限制,或者默认情况下它没有限制。我只是想知道默认情况下没有提到limit参数时,输出文档的数量是否有限制?
在 CouchDB 中,the default behavior for a view is to return all results,因此如果要进行某种分页或 return 数据子集,则必须指定 limit
参数。
在视图中查询文档时,如果未提及 limit
参数,是否对显示的文档数有限制?
这个 link 确实说 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.
但不确定这是否意味着我们可以将任何数字作为限制,或者默认情况下它没有限制。我只是想知道默认情况下没有提到limit参数时,输出文档的数量是否有限制?
在 CouchDB 中,the default behavior for a view is to return all results,因此如果要进行某种分页或 return 数据子集,则必须指定 limit
参数。