Description
In the API reference for mutateIn (https://docs.couchbase.com/sdk-api/couchbase-node-client-3.0.4/Collection.html#mutateIn), it covers the options argument to mutateIn, but only shows timeout as a valid option.
To use CAS with mutateIn, you must pass cas as part of this object.
This needs to be documented within the API reference as a valid option.
For example:
collection.mutateIn("airline_8091", [
|
couchbase.MutateInSpec.upsert("callsign", "test")], {
|
cas: MY_CAS
|
});
|