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

Is findOne deprecated

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      NodeJS

      Hi,

      My colleagues and I have found that in nodejs Mongodb driver version 2.1, findOne method is tagged as deprecated, however in the following version 2.2, this is not deprecated anymore.
      What should we do ? trust in the migration notice and hence version 2.1 doc or did the team decided to undo the deprecation ?

      In the comments of this page, someone asks the same question but does not get any answer.
      http://mongodb.github.io/node-mongodb-native/2.0/meta/changes-from-1.0/
      Same for this stackExchange topic
      http://dba.stackexchange.com/questions/139307/is-findone-in-mongodb-deprecated

      Thx very much for your help,

      Hubert Mine

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            HubertMine Hubert Mine [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: