Skip to content

SQL Reference

ESTIMATEDDOCUMENTCOUNT

db.collection.estimatedDocumentCount(options)

Section titled “db.collection.estimatedDocumentCount(options)”
  • options: Optional settings such as maxTimeMS.
db.orders.estimatedDocumentCount()