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
|
});
|
Attachments
For Gerrit Dashboard: JSCBC-779 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
133860,2 | JSCBC-779: Added missing CAS option for mutate-in. | master | couchnode | Status: MERGED | +2 | +1 |