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 "HTTP_view_API" by RobertNewson
Date Sun, 03 Jul 2011 14:36:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "HTTP_view_API" page has been changed by RobertNewson:
http://wiki.apache.org/couchdb/HTTP_view_API?action=diff&rev1=54&rev2=55

Comment:
clarify that startkey_docid and endkey_docid must be used with startkey, endkey respectively

  ||'''Parameter''' ||'''Value''' ||'''Default value''' ||'''Description''' ||
  ||'''key''' ||''key-value'' ||''-'' ||'''Must''' be a proper URL encoded JSON value ||
  ||'''startkey''' ||''key-value'' ||''-'' ||'''Must''' be a proper URL encoded JSON value
||
- ||'''startkey_docid''' ||''document id'' ||''-'' ||document id to start with ||
+ ||'''startkey_docid''' ||''document id'' ||''-'' ||document id to start with (to allow pagination
for duplicate startkeys) ||
  ||'''endkey''' ||''key-value'' ||''-'' ||'''Must''' be a proper URL encoded JSON value ||
- ||'''endkey_docid''' ||''document id'' ||''-'' ||last document id to include in the output
||
+ ||'''endkey_docid''' ||''document id'' ||''-'' ||last document id to include in the output
(to allow pagination for duplicate endkeys) ||
  ||'''limit''' ||''number of docs'' ||''-'' ||Limit the number of documents in the output
||
  ||'''stale''' ||''ok'' / ''update_after'' ||''-'' ||If '''stale=ok''' is set, CouchDB will
not refresh the view even if it is stale, the benefit is a an improved query latency. If '''stale=update_after'''
is set, CouchDB will update the view '''after''' the stale result is returned. update_after
was added in version 1.1.0. ||
  ||'''descending''' ||''true / false'' ||''false'' ||reverse the output ||

Mime
View raw message