tags:

views:

25

answers:

1

What would be the simplest way to export a couchdb database of documents (identical structure) to CSV?

I'm guessing it would involve writing a view and manually parsing each document serially using something like PHP/C#/Python. But is there a simpler way or something already existing I can make use of?

+1  A: 

You should be able to generate the CSV directly from CouchDB, i.e. without PHP/C#/Python, using a list function. See http://wiki.apache.org/couchdb/Formatting_with_Show_and_List and http://guide.couchdb.org/editions/1/en/transforming.html for more information.

Matt Goodall
Thanks thats great; Not sure how i managed to miss that when I was poking through the documentation :o)
Chris M