Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0.z.beta
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      Provide get and lock as an API method.

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

        Activity

        Show
        avsej Sergey Avseyev added a comment - Couchbase::Bucket#get has option lock, so the get with this option is the "get and lock", see examples at http://rdoc.info/github/couchbase/couchbase-ruby-client/Couchbase/Bucket#get-instance_method and also implementation and tests https://github.com/couchbase/couchbase-ruby-client/blob/13ca5c6bed/ext/couchbase_ext/couchbase_ext.c#L3078 https://github.com/couchbase/couchbase-ruby-client/blob/13ca5c6bed/test/test_get.rb#L349-L397
        Hide
        kzeller kzeller added a comment -

        Will add to docs.

        Show
        kzeller kzeller added a comment - Will add to docs.
        Hide
        kzeller kzeller added a comment -

        Added to 1.8 and will add to 2.0 chapters.

        Show
        kzeller kzeller added a comment - Added to 1.8 and will add to 2.0 chapters.
        Hide
        kzeller kzeller added a comment -

        Do you have any examples in a reference app?

        Show
        kzeller kzeller added a comment - Do you have any examples in a reference app?

          People

          • Assignee:
            kzeller kzeller
            Reporter:
            kzeller kzeller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes