I see that there is a expiry setting in github.
How do I set a TTL on a doc during a write in Eventing ?
bucket1[meta.id] = {"some":"data"}
also is there a touch() to move a TTL on a doc?
I see that there is a expiry setting in github.
How do I set a TTL on a doc during a write in Eventing ?
bucket1[meta.id] = {"some":"data"}
also is there a touch() to move a TTL on a doc?
The ability to set expiry is tracked by https://issues.couchbase.com/browse/MB-27267. In addition, it will also require the ability to modify the document that generated the mutation (and suppress the resulting recursion) and this is tracked by https://issues.couchbase.com/browse/MB-27268. We hope to fix both of them in the very near future.
Thank you.