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

Update/Replace method documentation should specify update document restrictions

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Documentation

    Description

      The shell (and some drivers) are specific that UpdateOne/UpdateMany must use update operators and that ReplaceOne must not.

      To help users use the CRUD operations correctly and without confusion, the driver should similarly state such restrictions in the documentation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: