IAggregateFluentExtensions Methods |
The IAggregateFluentExtensions type exposes the following members.
Name | Description | |
---|---|---|
FirstTResult |
Returns the first document of the aggregate result.
| |
FirstAsyncTResult |
Returns the first document of the aggregate result.
| |
FirstOrDefaultTResult |
Returns the first document of the aggregate result, or the default value if the result set is empty.
| |
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.
| |
LookupTResult(IAggregateFluentTResult, String, FieldDefinitionTResult, FieldDefinitionBsonDocument, FieldDefinitionBsonDocument) |
Appends a lookup stage to the pipeline.
| |
LookupTResult, TForeignDocument, TNewResult(IAggregateFluentTResult, IMongoCollectionTForeignDocument, ExpressionFuncTResult, Object, ExpressionFuncTForeignDocument, Object, ExpressionFuncTNewResult, Object, AggregateLookupOptionsTForeignDocument, TNewResult) |
Appends a lookup 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.
| |
SingleTResult |
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.
| |
SingleAsyncTResult |
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.
| |
SingleOrDefaultTResult |
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.
| |
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) | Obsolete.
Appends an unwind stage to the pipeline.
| |
UnwindTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, Object, AggregateUnwindOptionsTNewResult) |
Appends an unwind stage to the pipeline.
|