【发布时间】:2017-01-11 06:27:33
【问题描述】:
我的 cloudant 数据库运行良好,然后我开始在我的所有地图视图中收到 SUMERROR。大多数 map 函数都没有 reduce 函数。
{error: "invalid_value",…}
error: "invalid_value"
reason: "The _sum function requires that map values be numbers, arrays of numbers, or objects, not 'null'. Objects cannot be mixed with other data structures. Objects can be arbitrarily nested, provided that the values for all fields are themselves numbers, arrays of numbers, or objects."
ref: 2090670111
我不确定错误的原因是什么以及如何解决它。
【问题讨论】: