Delete document with an empty ID

Posted by Damien MATHIEU on Stack Overflow See other posts from Stack Overflow or by Damien MATHIEU
Published on 2010-04-16T08:40:32Z Indexed on 2010/04/16 8:43 UTC
Read the original article Hit count: 181

Filed under:

Hello,

I have a CouchDB database in production. One of the documents has been edited (in Futon by an other developer).
And it's lost it's ID (don't ask me how he did it).

So now the document's id is an empty string, which makes it impossible to edit or delete via Futon.
Is there a way I could hack into CouchDB to delete that document anyway ?

© Stack Overflow or respective owner

Related posts about couchdb