On Nov 24, 2009, at 2:59 PM, Paul Davis wrote:

> Or using the standard row count reduce:
> 
> function(keys, values, rereduce) {
>  if(rereduce) return sum(values);
>  return values.length;
> }
> 
> It occurs to me that we should add a _row_count Erlang reduce function
> as its slightly different than _sum.

Hi Paul, it occurred to someone else, too: "_count" is already a built-in, 
defined as above.  Best,

Adam

Reply via email to