IAggregateFluentTResult Methods |
The IAggregateFluentTResult generic type exposes the following members.
Name | Description | |
---|---|---|
AppendStageTNewResult |
Appends the stage to the pipeline.
| |
AsTNewResult |
Appends a project stage to the pipeline.
| |
GroupTNewResult |
Appends a group stage to the pipeline.
| |
Limit |
Appends a limit stage to the pipeline.
| |
LookupTNewResult |
Appens a lookup stage to the pipeline.
| |
Match |
Appends a match stage to the pipeline.
| |
OfTypeTNewResult |
Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type.
| |
OutAsync |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
ProjectTNewResult |
Appends a project stage to the pipeline.
| |
Skip |
Appends a skip stage to the pipeline.
| |
Sort |
Appends a sort stage to the pipeline.
| |
ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.) | |
UnwindTNewResult |
Appends an unwind stage to the pipeline.
|
Name | Description | |
---|---|---|
FirstAsyncTResult |
Returns the first document of the aggregate result.
(Defined by IAggregateFluentExtensions.) | |
FirstOrDefaultAsyncTResult |
Returns the first document of the aggregate result, or the default value if the result set is empty.
(Defined by IAggregateFluentExtensions.) | |
ForEachAsyncTResult(FuncTResult, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTResult(FuncTResult, Int32, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTResult(ActionTResult, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTResult(ActionTResult, Int32, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
GroupTResult(ProjectionDefinitionTResult, BsonDocument) | Overloaded.
Appends a group stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
GroupTResult, TKey, TNewResult(ExpressionFuncTResult, TKey, ExpressionFuncIGroupingTKey, TResult, TNewResult) | Overloaded.
Appends a group stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
MatchTResult |
Appends a match stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
ProjectTResult(ProjectionDefinitionTResult, BsonDocument) | Overloaded.
Appends a project stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
ProjectTResult, TNewResult(ExpressionFuncTResult, TNewResult) | Overloaded.
Appends a project stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
SingleAsyncTResult |
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.
(Defined by IAggregateFluentExtensions.) | |
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.
(Defined by IAggregateFluentExtensions.) | |
SortByTResult |
Appends an ascending sort stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
SortByDescendingTResult |
Appends a descending sort stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
ToListAsyncTResult |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
UnwindTResult(ExpressionFuncTResult, Object) | Overloaded.
Appends an unwind stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
UnwindTResult(FieldDefinitionTResult) | Overloaded.
Appends an unwind stage to the pipeline.
(Defined by IAggregateFluentExtensions.) | |
UnwindTResult, TNewResult(ExpressionFuncTResult, Object, IBsonSerializerTNewResult) | Overloaded.
Appends an unwind stage to the pipeline.
(Defined by IAggregateFluentExtensions.) |