Closed yingshaoxo closed 3 years ago
Hi,
Cloudant automatically deletes old revisions so you cannot rely on them being retrievable. If you need to preserve historical versions of your documents you will need a different tactic.
Hi,
Cloudant automatically deletes old revisions so you cannot rely on them being retrievable. If you need to preserve historical versions of your documents you will need a different tactic.
Alright, thank you for the answer.
How to get revisions
Here is the code:
For the above code, I could get the
revisions
:But when I use
db["yingshaoxo"]
, I couldn't get_revisions
, where is the problem, guys?How to get data back by using
_id
and one element that comes from the_reversions
?This is essential if we want to recover some data from the history records.