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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.1.0
    • CRUD

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: