Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7653

Allow for default value to append/prepend

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8.0, 2.0
    • Fix Version/s: None
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      Perry asked me if it's possible to add default values for append/prepend like there is for incr/decr.

      I talked to trond about this and he said there is no protocol level support for this.

      Does it make sense to add this in a future release?

      Thanks,
      Michael

        Issue Links

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

          Activity

          Hide
          mikew Mike Wiederhold added a comment -

          What do you mean by add a default value? Can you provide an example of what you would want to happen?

          Show
          mikew Mike Wiederhold added a comment - What do you mean by add a default value? Can you provide an example of what you would want to happen?
          Hide
          perry Perry Krug added a comment -

          As with incr/decr, it would be very helpful to have a default value come along with the append/prepend operation to keep them atomic and avoid the extra round-trip of an add()

          Show
          perry Perry Krug added a comment - As with incr/decr, it would be very helpful to have a default value come along with the append/prepend operation to keep them atomic and avoid the extra round-trip of an add()
          Hide
          daschl Michael Nitschinger added a comment -

          Why has this been closed as won't fix without a comment?

          Show
          daschl Michael Nitschinger added a comment - Why has this been closed as won't fix without a comment?

            People

            • Assignee:
              Unassigned
              Reporter:
              daschl Michael Nitschinger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes