couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Charette <ioma...@yahoo.com>
Subject Re: copy docs from one db to another?
Date Mon, 25 Mar 2013 21:51:22 GMT
You could make a view and list that added deleted to the docs then curl it's output to a file.
 Then a call to bulk docs would do the trick.

Jeff Charette | Principal 
We Are Charette
web / identity / packaging

m  415.298.2707
w  wearecharette.com
e   jeffrey@wearecharette.com

On Mar 25, 2013, at 5:35 PM, Mark Hahn <mark@hahnca.com> wrote:

> I have a database with a zillion docs that I need to empty.  I just want
> the design docs left behind.  I googled and saw some techniques that
> require writing code.
> 
> Could I just GET the docs with curl and then PUT them?
> 
> Any other way to do it?

Mime
View raw message