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

countDocuments is slower then count

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 3.1.1, 3.1.3
    • Component/s: None
    • Labels:

      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

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

              Created:
              Updated:
              Resolved: