kmongo / org.litote.kmongo.coroutine / CoroutineCollection / estimatedDocumentCount

estimatedDocumentCount

suspend fun estimatedDocumentCount(options: EstimatedDocumentCountOptions = EstimatedDocumentCountOptions()): Long (source)

Gets an estimate of the count of documents in a collection using collection metadata.

Parameters

options - the options describing the count

Since
1.9