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

Driver should conform to spec for findOneAndUpdate's returnDocument

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.7, 4.0.0
    • Component/s: native
    • Labels:
      None
    • Documentation Changes:
      Needed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: