3 ms·
Some tool for data upgrading/rolling back when doing updates. We got so many nice tools for programs, its about time to have a DB that could do as such... and
by LarryMade2 11y ago
Some tool for data upgrading/rolling back when doing updates. We got so many nice tools for programs, its about time to have a DB that could do as such... and versioning?
- brickcap 11y agoThe documents that are stored in couchdb are versioned as long as you don't replicate/ don't compress the database. You can query for all the _revs of a document. You can make api calls to give you an older _rev of the document. The _revs themselves follow a pattern that is semi-human readable.Like so:- `1-some_uuid,2-some_uuid,3-some_uuid` and so on. The versioning functionality is not comprehensive but you certainly have the building blocks.