IMongoCollectionExtensions.CountDocumentsAsync Method |
Name | Description | |
---|---|---|
![]() ![]() | CountDocumentsAsync<TDocument>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, CountOptions, CancellationToken) |
Counts the number of documents in the collection.
|
![]() ![]() | CountDocumentsAsync<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, CountOptions, CancellationToken) |
Counts the number of documents in the collection.
|