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

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 1.2.0.z.beta
    • None
    • None
    • Security Level: Public
    • 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

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            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

                PagerDuty