Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1110

Add mongoc_cursor_get_error_document ()

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.0
    • 1.3.3
    • libmongoc
    • None

    Description

      Original title: Allow clients to access failed command response document (e.g. ok:0)


      Currently, an unsuccessful command results in a cursor failure, which means drivers built atop libmongoc can only access the error code and message. It'd be nice if there was an API to expose the response document from the failed command.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: