Click or drag to resize

IMongoCollectionExtensionsCountDocuments Method

Overload List
  NameDescription
Public methodStatic memberCountDocumentsTDocument(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 EstimatedDocumentCount(EstimatedDocumentCountOptions, CancellationToken).
Public methodStatic memberCountDocumentsTDocument(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 EstimatedDocumentCount(EstimatedDocumentCountOptions, CancellationToken).
Top
See Also