couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "HTTP_view_API" by JensAlfke
Date Fri, 28 Oct 2011 17:08: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 JensAlfke:

Added documentation of local_seq view option.

+ == View Generation Options ==
+ There is currently one option that affects the data written into a view. To [[|include
documents' local sequence numbers]] in the index, so they will appear in the query results,
add the following to the design document:
+ {{{#!highlight javascript
+     options : { 
+         local_seq : true 
+     }
+ }}}
+ (Unlike the querying options below, this isn't a URL parameter because it takes effect when
the view index is ''generated'', not when it's ''accessed''.)
  == Querying Options ==
  Columns can be a list of values, there is no set limit to the number of values or amount
of data that columns can hold.

View raw message