MongoCollection.estimatedDocumentCount

Returns the count of all documents in a collection or view.

Throws Exception if a DB communication error occurred.

struct MongoCollection
ulong
estimatedDocumentCount
(
EstimatedDocumentCountOptions options = EstimatedDocumentCountOptions.init
)

See Also

Meta