You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Paul Davis <pa...@gmail.com> on 2009/12/16 23:49:47 UTC

Re: _list function total_rows parameter always reports full view size?

> {"total_rows": 37,"offset": null}
>
> Is this teh expected behviour?

Yes, total rows is the number of rows in the view.

> If so, what's a good way to know how many rows will the iterator return?

There's no way to tell that inside the list itself. The easiest way to
get the number of rows between any two arbitrary keys is to use a row
count reduce.

HTH,
Paul Davis