Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-470

Cleanup return values in the API

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.0
    • None
    • library
    • None

    Description

      The return values have to be better documented, uniform and accessible. For example query results currently mostly represent shape of the responses how it goes on the network; N1QL, Search and View results are differs, but in general it can be represented with the same QueryResult class and QueryRow.

      Most of the management APIs also do not specify exact form of the result, in some cases it makes sense, e.g. info() calls, but could be better.

      KV API still returns flags, which is part of the encoder implementation, and should not be visible for regular calls.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty