You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/08/15 10:55:58 UTC

[Couchdb Wiki] Update of "HttpViewApi" by JanLehnardt

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 JanLehnardt:
http://wiki.apache.org/couchdb/HttpViewApi

------------------------------------------------------------------------------
  
  View rows are sorted by the key; specifying ''descending=true'' will reverse their order. Note that the ''descending'' option is applied before any key filtering, so you may need to swap the values of the ''startkey'' and ''endkey'' options to get the expected results. The sorting itself is described in ViewCollation.
  
- The ''group'' option controls whether the reduce portion of the view is used. Without it only the map portion of the view is run.
+ The ''group'' option controls whether the reduce function reduces to a set of distinct keys or to a single result row.
  
  == Debugging Views ==