Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1132

Create CounterResult for BinaryCollection increment/decrement operations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 3.x
    • None
    • None
    • 1

    Description

      All BinaryCollection operations return a MutationResult. Only append/prepend should return a MutationResult while increment/decrement should return CounterResult.

      The C bindings have all counter operations returning a pycbc_ValueResult. Therefore mutation tokens will be missing for the increment/decrement operations. This should be updated to comply with the RFC.

      TODO:

      1. Add CounterResult object
      2. Have BinaryCollection increment/decrement return a CounterResult object
      3. Update C bindings to include mutation tokens for append/prepend counter operations

      Attachments

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              jared.casey Jared Casey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty