I'm using MongoDB driver in c# with following packages:
We have Async method as:
var me = await peopleCollection.AsQueryable().FirstOrDefaultAsync(x => x.Name == "me");
But to fetch two or more record. I did not found any Async method:
var others = await peopleCollection.AsQueryable().Where(x => x.Name != "me");
How to achieve Async request for this kind of queries?
Total Marked As Answer: