Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-779

API Reference doesn't list CAS as an option for mutateIn

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.4
    • 3.0.5
    • docs
    • None
    • 1

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            brett19 Brett Lawson
            matt.carabine Matt Carabine
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty