Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by RobertNewson: The comment on the change is: add anchor to reduce functions ------------------------------------------------------------------------------ } }}} + + [[Anchor(reduce_functions)]] === Reduce Functions === If a view has a reduce function, it is used to produce aggregate results for that view. A reduce function is passed a set of intermediate values and combines them to a single value. Reduce functions must accept, as input, results emitted by its corresponding map function '''as well as results returned by the reduce function itself'''. The latter case is referred to as a ''rereduce''.