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

Result object specified incorrectly for findAndModify?

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.8
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Looking at the node-mongodb-native 2.0 API documentation, findAndModify:

      http://mongodb.github.io/node-mongodb-native/2.0/api/Collection.html#findAndModify

      The callback is specified as a 'resultCallback', wheras I think it should be a 'findAndModifyCallback'.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bgsosh@gmail.com Scott Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: