Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-426

Rejig services API because views

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.0.0-alpha.3
    • None
    • None
    • None
    • 1

    Description

      The views results interface should expose results in a way that exposes more than just Next(valuePtr). This means that the interface needs to change, proposal below. If we're changing this for views then we should change for everything for consistency.

      {{ for result.Next() {}}
          var thing interface
          err := result.Scan(&thing)

               // we can then have things like result.ScanID()
      {{ }}}

      Attachments

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

        Activity

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            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