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 LenaHerrmann.
The comment on this change is: Added inclusive_end.
http://wiki.apache.org/couchdb/HTTP_view_API?action=diff&rev1=27&rev2=28

--------------------------------------------------

      * group_level=int
      * reduce=false ''Trunk only (0.9)''
      * include_docs=true ''Trunk only (0.9)''
+     * inclusive_end=true
    * POST
      * {"keys": ["key1", "key2", ...]} ''Trunk only (0.9)''
  
@@ -151, +152 @@

  
  The ''include_docs'' option will include the associated document. Although, 
the user should keep in mind that there is a race condition when using this 
option. It is possible that between reading the view data and fetching the 
corresponding document that the document has changed. If you want to alleviate 
such concerns you should emit an object with a _rev attribute as in ''emit(key, 
{"_rev": doc._rev})''. This alleviates the race condition but leaves the 
possiblity that the returned document has been deleted (in which case, it 
includes the ''"_deleted": true'' attribute).
  
+ The ''inclusive_end'' option controls whether the ''endkey'' is included in 
the result. It defaults to true.
  
  == Debugging Views ==
  

Reply via email to