countDocuments is slower then count

XMLWordPrintableJSON

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

      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
              Reporter:
              Jun [X]
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: