Is findOne deprecated

XMLWordPrintableJSON

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

      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:
            Christian Amor Kvalheim
            Reporter:
            Hubert Mine [X]
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: