Reputation: 25
When I using Couchdb, document can be have many revs, and I can fetch all revs from http api
But when I using Couchbase, I'm try using: rev=1-000000000000000, revs=true, revs_info=true
It's allways doesn't display any previus rev
It's another params to fetch?
Upvotes: 2
Views: 851
Reputation: 3510
I think you are mixing features from Couchbase and Couchdb.
Couchbase has a "rev" metada that is an internal attribute used for Cross Data Center Replication (XDCR). Couchbase 2.0 does not store multiple revisions of a document. You have only 1 version of the document.
This notion of revision is only used in Couchdb product.
Upvotes: 3