In the 2.x client, we were able to:
BUCKET.mutateIn(keyProvider.getCouchbaseKey(key))
.upsertDocument(true)
.withExpiry(ttl)
.withCas(cas);
However, with the new version of the client and MutateInOptions
there appears to be no upsertDocument()
capability. How can we perform this same operation?
Thanks - H