IAggregateFluentExtensions Methods |
The IAggregateFluentExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | FirstAsyncTResult |
Returns the first document of the aggregate result.
|
![]() ![]() | FirstOrDefaultAsyncTResult |
Returns the first document of the aggregate result, or the default value if the result set is empty.
|
![]() ![]() | GroupTResult(IAggregateFluentTResult, ProjectionDefinitionTResult, BsonDocument) |
Appends a group stage to the pipeline.
|
![]() ![]() | GroupTResult, TKey, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TKey, ExpressionFuncIGroupingTKey, TResult, TNewResult) |
Appends a group stage to the pipeline.
|
![]() ![]() | MatchTResult |
Appends a match stage to the pipeline.
|
![]() ![]() | ProjectTResult(IAggregateFluentTResult, ProjectionDefinitionTResult, BsonDocument) |
Appends a project stage to the pipeline.
|
![]() ![]() | ProjectTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TNewResult) |
Appends a project stage to the pipeline.
|
![]() ![]() | SingleAsyncTResult |
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.
|
![]() ![]() | SingleOrDefaultAsyncTResult |
Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document.
|
![]() ![]() | SortByTResult |
Appends an ascending sort stage to the pipeline.
|
![]() ![]() | SortByDescendingTResult |
Appends a descending sort stage to the pipeline.
|
![]() ![]() | ThenByTResult |
Modifies the current sort stage by appending an ascending field specification to it.
|
![]() ![]() | ThenByDescendingTResult |
Modifies the current sort stage by appending a descending field specification to it.
|
![]() ![]() | UnwindTResult(IAggregateFluentTResult, FieldDefinitionTResult) |
Appends an unwind stage to the pipeline.
|
![]() ![]() | UnwindTResult(IAggregateFluentTResult, ExpressionFuncTResult, Object) |
Appends an unwind stage to the pipeline.
|
![]() ![]() | UnwindTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, Object, IBsonSerializerTNewResult) |
Appends an unwind stage to the pipeline.
|