Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1812

Driver should conform to spec for findOneAndUpdate's returnDocument

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.6.7, 4.0.0
    • Affects Version/s: None
    • Component/s: Native
    • None
    • Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the driver supports the option returnOriginal for findOneAndUpdate, instead of the returnDocument option outlined in the CRUD spec. We should add support for returnDocument, and deprecate the returnOriginal flag.

            Assignee:
            daria.pardue@mongodb.com Daria Pardue
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None