MongoQueryable.FirstAsync Method |
Name | Description | |
---|---|---|
![]() ![]() | FirstAsync<TSource>(IMongoQueryable<TSource>, CancellationToken) |
Returns the first element of a sequence.
|
![]() ![]() | FirstAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, Boolean>>, CancellationToken) |
Returns the first element of a sequence that satisfies a specified condition.
|