Class IFindFluentExtensions
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
public static class IFindFluentExtensions
Inheritance
IFindFluentExtensions
Inherited Members
Methods
AnyAsync<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Determine if there are any results.
Any<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Determine if there are any results.
FirstAsync<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Get the first result.
FirstOrDefaultAsync<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Get the first result or null.
FirstOrDefault<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Get the first result or null.
First<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Get the first result.
Projects the result.
Projects the result.
SingleAsync<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Gets a single result.
SingleOrDefaultAsync<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Gets a single result or null.
SingleOrDefault<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Gets a single result or null.
Single<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, CancellationToken)
Gets a single result.
Sorts the results by a descending field.
Sorts the results by an ascending field.
Adds a descending field to the existing sort.
Adds an ascending field to the existing sort.