Closed GoogleCodeExporter closed 9 years ago
Found out now that you can actually recover deleted documents id and last
revision
number both of which you can find out by querying the database with
dbname/_all_docs_by_seq. You can then recover by issuing a PUT request with the
same
revision that was passed to the DELETE request. When this happens the previously
deleted document is assigned a new revision and is no longer considered
deleted. See:
http://issues.apache.org/jira/browse/COUCHDB-292
Original comment by jeroen....@gmail.com
on 27 Feb 2010 at 6:09
Happy that the document is not deleted from the DB. However, agree that it is a
little
too easy to click the delete button accidentally. I will add a "Are you sure?"
prompt
before doing the delete.
Original comment by Joshua.e.Knight
on 1 Mar 2010 at 7:23
Fixed in the attached. Please verify. If OK I will release this version...
Original comment by Joshua.e.Knight
on 1 Mar 2010 at 8:08
Attachments:
Original comment by Joshua.e.Knight
on 1 Mar 2010 at 8:09
Original issue reported on code.google.com by
jeroen....@gmail.com
on 26 Feb 2010 at 1:57