couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <>
Subject Re: Named view required for list?
Date Fri, 05 Jun 2009 10:40:12 GMT

On 5 Jun 2009, at 11:49, Nils Breunese wrote:

> Hello all,
> I'd like to write a list function to render a database as a CSV  
> file. According to the wiki [0] the URL looks like this:
>  /<database>/_design/<designdoc>/_list/<list>/<view>
> So, a named view is required to run a list function? I'd like to  
> dump the complete database to CSV. Of course I could write a simple  
> view function that emits all documents, but it would be nice if I  
> could just run the list function on the database without using a view.
> Is this a technical limitation or design decision? Any ideas on this?

We could special-case the _all_docs view, but then, doing it manually is
so simple that I'd rather not add that to core CouchDB (…just yet, if  
more demand for this feature, I'm happy to reconsider :)


View raw message