Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1899

Support countDocuments() and estimateDocumentCount() in explain()

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • 3
    • Developer Tools

      As we deprecate db.coll.count(), we should also provide alternative to db.coll.explain().count():
      db.coll.explain().countDocuments() and db.coll.explain().estimateDocumentCount().

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: