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

    Details

    • 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:
      None

      Description

      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

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+RCBC-31=message:RCBC-31

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes