Click or drag to resize

IMongoCollectionExtensions.CountDocuments Method

Overload List
  NameDescription
Public methodStatic memberCountDocuments<TDocument>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, CountOptions, CancellationToken)
Counts the number of documents in the collection.
Public methodStatic memberCountDocuments<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, CountOptions, CancellationToken)
Counts the number of documents in the collection.
Top
See Also