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

Improvement Upsert in FindAndModify

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.0.0-rc2
    • CRUD
    • None

    Description

      WHY:

       - I'm integrating mongo-go-driver into our project to replace the mgo library. At the command findAndModify, I want to get the UpdatedExisting field in FindAndModify struct when using the Upsert option. That will let me know the document is inserted or updated. For example: FindOneAndUpdate function.

       

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            tkquang Quang Tong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: