incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsquared <bwcod...@gmail.com>
Subject Re: how to delete document with empty _id
Date Fri, 30 Sep 2011 15:44:55 GMT
Jason Smith <jhs@iriscouch.com> writes:

> You can delete the problematic document with an empty ID using a
> Javascript _update function.
>
> I wrote about it at
> http://stackoverflow.com/questions/7604557/how-do-you-delete-a-couchdb-document-with-an-empty-document-id/7605456#7605456
>
> Basically just make an _update function which returns [{_id:"",
> _rev:$your_rev, _deleted:true}, "Hasta lasagna, baby"];
>

Thank you.  That did the trick.

-- 
Regards,
Brian Winfrey


Mime
View raw message