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

method/operation to determine if a write error is a duplicate key error

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • 0.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      this might just be a usability consideration, but I can't find anyway to determine or check if an error from an insert or an upsert is a duplicate key error, without (presumably, parsing the string form of the error, which looks to be derived from what the server transmits.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: