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 "HttpViewApi" by PaulDavis
Date Wed, 04 Jun 2008 19:53:11 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 PaulDavis:
http://wiki.apache.org/couchdb/HttpViewApi

------------------------------------------------------------------------------
  
  ''key'', ''startkey'', and ''endkey'' need to be properly JSON encoded values (for example,
startkey="string" for a string value).
  
- If you specify ''?count=0'' you don't get any data, but all meta-data for this View. The
number of documents in this View for example.
+ If you specify ''?count=0'' you don't get any data, but all meta-data for this View. The
number of documents in this View for example. If ''count'' is specified as a negative number,
you will receive that many documents prior to the specified ''startkey''.
  
  The ''skip'' option should only be used with small values, as skipping a large range of
documents this way is inefficient (it scans the index from the startkey and then skips N elements,
but still needs to read all the index values to do that). For efficient paging use ''startkey''
and/or ''startkey_docid''.
  

Mime
View raw message