Sha256: 26dcbbde89c0677c3b827729dfb8b9296f86dc833606156cf89756f657632c7c

Contents?: true

Size: 117 Bytes

Versions: 12

Compression:

Stored size: 117 Bytes

Contents

function(keys, values, rereduce){
  if(rereduce){
    return sum(values);
  } else {
    return values.length;
  }
}

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
careo-makura-0.1 example/couch/reduce/sum_length.js
careo-makura-2009.2.17 example/couch/reduce/sum_length.js
manveru-makura-2009.02.18 example/couch/reduce/sum_length.js
manveru-makura-2009.03.01 example/couch/reduce/sum_length.js
manveru-makura-2009.03.28 example/couch/reduce/sum_length.js
manveru-makura-2009.04.22 example/couch/reduce/sum_length.js
manveru-makura-2009.05.27 example/couch/reduce/sum_length.js
makura-2012.01 example/couch/reduce/sum_length.js
makura-2011.01.21 example/couch/reduce/sum_length.js
makura-2010.08.26 example/couch/reduce/sum_length.js
makura-2010.08 example/couch/reduce/sum_length.js
makura-2009.05.27 example/couch/reduce/sum_length.js