Click or drag to resize

IMongoCollectionExtensions.CountAsync Method

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