couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Zedeler <mich...@zedeler.dk>
Subject Re: Unable to delete empty key document
Date Thu, 21 Oct 2010 10:06:33 GMT
  On 2010-10-21 12:03, Alex Ivasyuv wrote:
> I found an issue? in Futon, when there exist an record with empty key 
> (""), it's unable to delete it.
> Record looks like:
> ""             {rev: "1-8d76c8a85c9ad91083a200bf86e64c6a"}
>
> But from command like when you try to delete it, it'll delete entire 
> your db!
> $ curl -X DELETE http://localhost:5984/mydb/"" -d {rev: 
> 1-8d76c8a85c9ad91083a200bf86e64c6a}
If you can manage to update the document, set _deleted = true.

Regards,

Michael.



Mime
View raw message