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 2011/07/03 16:36:53 UTC

[Couchdb Wiki] Update of "HTTP_view_API" by RobertNewson

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