You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
yingshaoxo
changed the title
How can I get revisions and from id and revision get the data back?
How can I get revisions? | How to get data back by using id and revision code?
Mar 30, 2021
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.
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.
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.
The text was updated successfully, but these errors were encountered: