I have code like this:
cas = getCASforDoc(key)
bucket.mutateIn(key)
.upsert(path, value)
.execute()
I want to mutate the document so long as the document hasn’t been mutated since I retrieved the CAS.
The node.js sdk hints that it’s possible but I can find how.