I want to query my MongoDB collection without any filter with MongoDB .NET Driver 2.0 but I didn\'t find a way. I have the following workaround but it looks weird :D
<
FindAll() is the part of MongoDB 1x series driver. to get the same functionality in 2x series driver use find() with empty BSON Document.
var list = await collection.Find(new BsonDocument()).ToListAsync(); foreach (var dox in list) { Console.WriteLine(dox); }
Reference