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

countDocuments is slower then count

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Gone away
    • 3.1.1, 3.1.3
    • None
    • None

    Description

      collection.count() is deprecated,but when i use the countDocuments instead,i got the slow performance。countDocuments with pipeline and count with the count cmd,so why count is deprecated

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              CodingJun Jun [X]
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: