couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <>
Subject Re: Clarifications or bugs
Date Wed, 09 Apr 2008 21:56:38 GMT
Heya Søren,

On Apr 9, 2008, at 23:50, Søren Hilmer wrote:
> 1. when you filter a view, total_rows are always the total number of  
> documents
> in the view without the filter, so even if you specify say count=1,  
> you get
> total_rows=42 or something.

This works as expected. To get the filtered number of rows you can  
read the
length attribute of your result object.

> 2. startkey_docid does not seam to work, the first document in the  
> view is
> always returned.

Can you file a bug for that at:

Thanks for reporting!

View raw message