bug fixes in couchapp
This commit is contained in:
parent
92f4871696
commit
38462375b4
4 changed files with 21 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
// example reduce function to count the
|
||||
// number of rows in a given key range.
|
||||
|
||||
function(keys, value, rereduce) {
|
||||
function(keys, values, rereduce) {
|
||||
if (rereduce) {
|
||||
return sum(values);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue