incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <rkevinbur...@charter.net>
Subject RE: Clearing a database.
Date Tue, 06 Nov 2012 04:09:48 GMT
Something like

curl -X PUT http://127.0.0.1:5984/baseball would create a "baseball"
database. Would curl -X DELETE http://127.0.0.1:5984/baseball remove it?

-----Original Message-----
From: Dustin Sallings [mailto:dustin@spy.net] 
Sent: Monday, November 05, 2012 10:03 PM
To: user@couchdb.apache.org
Subject: Re: Clearing a database.

"Kevin Burton" <rkevinburton@charter.net>
writes:

> I would like to clear all documents out of the database. What would be 
> a command that would do that? I can remove an individual document but 
> I am not sure how to remove all documents.

  Just delete the database.

--
dustin



Mime
View raw message