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 JeremyWall
Date Sat, 19 Jul 2008 14:34:53 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 JeremyWall:

The comment on the change is:
added documentation about the group query argument to run the reduce on a view

    * update=false
    * descending=true
    * skip=rows to skip
+   * group=true ''Version 0.8.0 and forward'' 
  ''key'', ''startkey'', and ''endkey'' need to be properly JSON encoded values (for example,
startkey="string" for a string value).
@@ -162, +163 @@

  The ''update'' option can be used for higher performance at the cost of possibly not seeing
the all latest data. If you set the ''update'' option to ''false'', CouchDB will not perform
any refreshing on the view that may be necessary.
  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.
  == Debugging Views ==

View raw message