Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "Built-In_Reduce_Functions" page has been changed by SebastianCohnen. The comment on this change is: added a note about whitespaces. http://wiki.apache.org/couchdb/Built-In_Reduce_Functions?action=diff&rev1=2&rev2=3 -------------------------------------------------- Currently (CouchDB 0.11.0) there are three built-in reduce functions. Built-in reduce functions are performed right inside CouchDB implemented in Erlang. In most cases it is very fast because they are way more efficient. == Usage == - To use built-in reduce functions, you simply need to replace your reduce function with {{{_count}}}, {{{_sum}}} or {{{_stats}}}. + To use built-in reduce functions, you simply need to replace your reduce function with a string containing {{{_count}}}, {{{_sum}}} or {{{_stats}}} (without any preceding or tailing whitespace). Here is an example design document using build-in reduce functions: {{{
