> On Jan 30, 2015, at 2:07 PM, Hadi Sharghi <[email protected]> wrote:
> 
> I'm using Sync Gateway REST API to update documents from a website, When I 
> update a document and a previous revision is created, it has an expiration 
> value like this "1422654390" and the revisions are getting disappear after a 
> while.

What do you mean by "an expiration value"? Where exactly do you see this 
number? (The only place I think this would be visible is through the Couchbase 
Server APIs; generally you shouldn't be looking at the gateway's internal 
bucket.)

As Adam said, you cannot rely on bodies of previous revisions of a document 
being preserved. They're only kept in order to help conflict resolution and to 
handle race conditions with clients. The same goes for all databases of this 
type, including Couchbase Lite, CouchDB, PouchDB, Cloudant, etc.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/D735E445-C3C9-4196-B03B-B043C3D9097F%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to