estimatedDocumentCount

abstract suspend fun estimatedDocumentCount(): Long

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

Since

3.8


abstract suspend fun estimatedDocumentCount(options: EstimatedDocumentCountOptions): Long

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

Since

3.8

Parameters

options

the options describing the count