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

replaceOne is not returning the result.ops property as described in the docs

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.0.28
    • Affects Version/s: 2.0.27
    • Component/s: None
    • Labels:

      According to this documentation entry
      http://mongodb.github.io/node-mongodb-native/2.0/api/Collection.html#replaceOne

      the callback is a writeOpCallback(error, result)
      http://mongodb.github.io/node-mongodb-native/2.0/api/Collection.html#~writeOpCallback

      the current callback results with replaceOne doesn't have an ops property

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            FranckL Franck Lahaye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: