couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Built-In_Reduce_Functions" by SebastianCohnen
Date Tue, 01 Jun 2010 10:09:25 GMT
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:
  {{{

Mime
View raw message