Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-31

The get command is not idiomatic, a multi-get command should be added to ensure consistent processing of the result


    • Type: New Feature
    • 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:


      The pattern of using more than one argument to determine if an array should be returned is not idiomatic. Consider the case of a multi-get in an application where I have n items to return. If there happens to be only one item it will be treated differently than if there happens to be 2 items.

      This forces the application user to wrap all results with a check to see if the result is an array or not in every use of the command

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


        bpoweski Ben Poweski created issue -
        avsej Sergey Avseyev made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.2.0 [ 10292 ]
        Resolution Fixed [ 1 ]
        avsej Sergey Avseyev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 16516 ] Couchbase SDK Workflow [ 44818 ]


          • Assignee:
            avsej Sergey Avseyev
            bpoweski Ben Poweski
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes