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

countDocuments is slower then count

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Gone away
    • Affects Version/s: 3.1.1, 3.1.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: