MongoCollectionBaseTDocumentCountAsync Method (FilterDefinitionTDocument, CountOptions, CancellationToken) |
Namespace: MongoDB.Driver
public abstract Task<long> CountAsync( FilterDefinition<TDocument> filter, CountOptions options = null, CancellationToken cancellationToken = null )