Hi Team,
we wanted to create a function in sync-gw to set the expiry time when the data comes from sync-gw. CB document says we can use expiry function but how do we set it if the days are 90 days? is it like expiry(“7776000”) or some other way to do it.
Also we want to make sure if a document already has expiry time we don’t want to overwrite it- 2way sync- data coming from couchbase document update.
Thanks.