couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "HttpViewApi" by JanLehnardt
Date Fri, 15 Aug 2008 08:55:58 GMT
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:

  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 ==

View raw message