Sam*_*Sam 10 c# mongodb
如何使用2.x C#驱动程序计算Mongo集合中所有项目的数量?
我正在尝试使用CountAsync,我需要传递一个过滤器.我不想过滤 - 我希望一切都归还.
Dev*_*esh 16
您始终可以像这样在方法中传递空文档
db.collection.CountAsync(new BsonDocument());
归档时间:
10 年,5 月 前
查看次数:
14210 次
最近记录:
7 年,3 月 前