Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1075

Call SingleResult.setRdrContents() in SingleResult.Err() to return correct error

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: CRUD
    • Labels:

      The SingleResult type should have a HasResult method to check if there actually was a result. This can internally use setRdrContents and check the value of the rdr member.

            Assignee:
            manny.eppinger@mongodb.com Emmanuel Eppinger (Inactive)
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: