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

Only use mongoc_client_new_from_uri and mongoc_uri_new_with_error in examples

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: Docs, libmongoc
    • None
    • Fully Compatible

      Suggestion from matt.broadstone - show safer style of initializing a mongoc_client_t, which is more likely to encourage users to check errors in URI parsing or from using unsupported URI options for their build.

            Assignee:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: