Click or drag to resize

IMongoCollectionExtensionsCountDocumentsAsync Method

Overload List
  NameDescription
Public methodStatic memberCountDocumentsAsyncTDocument(IMongoCollectionTDocument, ExpressionFuncTDocument, Boolean, CountOptions, CancellationToken)
Counts the number of documents in the collection. For a fast estimate of the total documents in a collection see EstimatedDocumentCountAsync(EstimatedDocumentCountOptions, CancellationToken).
Public methodStatic memberCountDocumentsAsyncTDocument(IMongoCollectionTDocument, IClientSessionHandle, ExpressionFuncTDocument, Boolean, CountOptions, CancellationToken)
Counts the number of documents in the collection. For a fast estimate of the total documents in a collection see EstimatedDocumentCountAsync(EstimatedDocumentCountOptions, CancellationToken).
Top
See Also