Hey Jens, 

Is there anyway to use the Couchbase Server TTL feature with CBL via 
sync_gateway? Can I set a default TTL on the server which would be applied 
to documents replicated over from CBL?

On Tuesday, March 10, 2015 at 7:32:49 PM UTC+1, Jens Alfke wrote:
>
>
> On Mar 10, 2015, at 8:50 AM, Justin <[email protected] <javascript:>> 
> wrote:
>
>  I am trying to set the document expiration value on CBL for Android. 
>  However, I can't seem to find a way to do it.  How do I set the expiration 
> value?
>
>
> Document expiration is a Couchbase Server feature; it's not in Couchbase 
> Lite. (Historically, it comes from the memcached ancestry, not from 
> CouchDB.)
>
> In general, don’t expect the two to have the same features. They’re both 
> JSON-based document databases with map/reduce, but beyond that they have a 
> lot of differences.
>
> —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/027b1f51-7ea9-4af7-aabd-6e91bd752491%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to