CouchDB List Functions
Just another trick for your CouchDB toolbox:
List functions are a mechanism for iterating over rows in a view to produce output. CouchDB list functions are typically used to generate alternate formats for output (Atom, XML, HTML, etc.). I still want to generate JSON for consumption by my Sinatra application. Hopefully, that will not prove difficult.
Other CouchDB tips&tricks
- Paginating with CouchDB
- Access CouchDB document revisions with RelaxDB
- Generic CouchDB _changes consumer using node.js
- A Stub Ruby Library for CouchDB
via: http://japhr.blogspot.com/2010/02/collating-not-reducing-with-couchdb.html