@@ -163,6 +163,7 @@ public static IMongoQueryable<TDocument> AsQueryable<TDocument>(this IMongoColle
163
163
164
164
/// <summary>
165
165
/// Counts the number of documents in the collection.
166
+ /// For a fast estimate of the total documents in a collection see <see cref="IMongoCollection{TDocument}.EstimatedDocumentCount"/>.
166
167
/// </summary>
167
168
/// <typeparam name="TDocument">The type of the document.</typeparam>
168
169
/// <param name="collection">The collection.</param>
@@ -182,6 +183,7 @@ public static IMongoQueryable<TDocument> AsQueryable<TDocument>(this IMongoColle
182
183
183
184
/// <summary>
184
185
/// Counts the number of documents in the collection.
186
+ /// For a fast estimate of the total documents in a collection see <see cref="IMongoCollection{TDocument}.EstimatedDocumentCount"/>.
185
187
/// </summary>
186
188
/// <typeparam name="TDocument">The type of the document.</typeparam>
187
189
/// <param name="session">The session.</param>
@@ -203,6 +205,7 @@ public static IMongoQueryable<TDocument> AsQueryable<TDocument>(this IMongoColle
203
205
204
206
/// <summary>
205
207
/// Counts the number of documents in the collection.
208
+ /// For a fast estimate of the total documents in a collection see <see cref="IMongoCollection{TDocument}.EstimatedDocumentCountAsync"/>.
206
209
/// </summary>
207
210
/// <typeparam name="TDocument">The type of the document.</typeparam>
208
211
/// <param name="collection">The collection.</param>
@@ -222,6 +225,7 @@ public static IMongoQueryable<TDocument> AsQueryable<TDocument>(this IMongoColle
222
225
223
226
/// <summary>
224
227
/// Counts the number of documents in the collection.
228
+ /// For a fast estimate of the total documents in a collection see <see cref="IMongoCollection{TDocument}.EstimatedDocumentCountAsync"/>.
225
229
/// </summary>
226
230
/// <typeparam name="TDocument">The type of the document.</typeparam>
227
231
/// <param name="collection">The collection.</param>
0 commit comments