[
https://issues.apache.org/jira/browse/COUCHDB-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Lenz resolved COUCHDB-14.
-------------------------------------
Resolution: Invalid
The operation DELETE /dbname deletes the database, not just all documents. That
works as designed and expected.
If you try DELETE /dbname/docid?rev=undefined you'll get a conflict error
because the rev doesn't match the latest, also working as expected.
> DELETE /todo/?rev=undefined deletes all docs in a db
> ----------------------------------------------------
>
> Key: COUCHDB-14
> URL: https://issues.apache.org/jira/browse/COUCHDB-14
> Project: CouchDB
> Issue Type: Bug
> Reporter: Noah Slater
> Priority: Minor
>
> What steps will reproduce the problem?
> 1. Create a DB
> 2. Create some docs
> 3. Run 'DELETE /todo/?rev=undefined'
> What is the expected output? What do you see instead?
> I expect an error or something, but not all docs vanishing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.