http://wiki.apache.org/couchdb/Built-In_Reduce_Functions#A_stats
Using the string "_stats" as your reduce function will get you a built-in reduction that contains both "count" and "sum" fields in the output. On Thu, Oct 14, 2010 at 00:29, sleepy <[email protected]> wrote: > Hi, > > I'm doing some statistics on my data and wondering is there > an straightforward way of calculating the mean value through reduce > function. > Maybe a build-in reduce function or something... > > sleepnova >
