IAggregateFluentTResult Methods |
The IAggregateFluentTResult generic type exposes the following members.
Name | Description | |
---|---|---|
AppendStageTNewResult |
Appends the stage to the pipeline.
| |
AsTNewResult |
Changes the result type of the pipeline.
| |
BucketTValue(AggregateExpressionDefinitionTResult, TValue, IEnumerableTValue, AggregateBucketOptionsTValue) |
Appends a $bucket stage to the pipeline.
| |
BucketTValue, TNewResult(AggregateExpressionDefinitionTResult, TValue, IEnumerableTValue, ProjectionDefinitionTResult, TNewResult, AggregateBucketOptionsTValue) |
Appends a $bucket stage to the pipeline with a custom projection.
| |
BucketAutoTValue(AggregateExpressionDefinitionTResult, TValue, Int32, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline.
| |
BucketAutoTValue, TNewResult(AggregateExpressionDefinitionTResult, TValue, Int32, ProjectionDefinitionTResult, TNewResult, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline with a custom projection.
| |
ChangeStream |
Appends a $changeStream stage to the pipeline.
Normally you would prefer to use the Watch method of IMongoCollectionTDocument.
Only use this method if subsequent stages project away the resume token (the _id)
or you don't want the resulting cursor to automatically resume.
| |
Count |
Appends a count stage to the pipeline.
| |
Densify(FieldDefinitionTResult, DensifyRange, FieldDefinitionTResult) |
Appends a $densify stage to the pipeline.
| |
Densify(FieldDefinitionTResult, DensifyRange, IEnumerableFieldDefinitionTResult) |
Appends a $densify stage to the pipeline.
| |
FacetTNewResult |
Appends a $facet stage to the pipeline.
| |
GraphLookupTFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult |
Appends a $graphLookup stage to the pipeline.
| |
GroupTNewResult |
Appends a group stage to the pipeline.
| |
Limit |
Appends a limit stage to the pipeline.
| |
LookupTForeignDocument, TNewResult(String, FieldDefinitionTResult, FieldDefinitionTForeignDocument, FieldDefinitionTNewResult, AggregateLookupOptionsTForeignDocument, TNewResult) |
Appends a lookup stage to the pipeline.
| |
LookupTForeignDocument, TAsElement, TAs, TNewResult(IMongoCollectionTForeignDocument, BsonDocument, PipelineDefinitionTForeignDocument, TAsElement, FieldDefinitionTNewResult, TAs, AggregateLookupOptionsTForeignDocument, TNewResult) |
Appends a lookup stage to the pipeline.
| |
Match |
Appends a match stage to the pipeline.
| |
MergeTOutput |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
MergeAsyncTOutput |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
OfTypeTNewResult |
Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type.
| |
Out(String, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
Out(IMongoCollectionTResult, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
OutAsync(String, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
| |
OutAsync(IMongoCollectionTResult, CancellationToken) |
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.
| |
ReplaceRootTNewResult |
Appends a $replaceRoot stage to the pipeline.
| |
ReplaceWithTNewResult |
Appends a $replaceWith stage to the pipeline.
| |
Search(SearchDefinitionTResult, SearchOptionsTResult) |
Appends a $search stage to the pipeline.
| |
Search(SearchDefinitionTResult, SearchHighlightOptionsTResult, String, SearchCountOptions, Boolean, Boolean) |
Appends a $search stage to the pipeline.
| |
SearchMeta |
Appends a $searchMeta stage to the pipeline.
| |
Set |
Appends a $set stage to the pipeline.
| |
SetWindowFieldsTWindowFields(AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
| |
SetWindowFieldsTPartitionBy, TWindowFields(AggregateExpressionDefinitionTResult, TPartitionBy, AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
| |
SetWindowFieldsTPartitionBy, TWindowFields(AggregateExpressionDefinitionTResult, TPartitionBy, SortDefinitionTResult, AggregateExpressionDefinitionISetWindowFieldsPartitionTResult, TWindowFields) |
Appends a $setWindowFields to the pipeline.
| |
Skip |
Appends a skip stage to the pipeline.
| |
Sort |
Appends a sort stage to the pipeline.
| |
SortByCountTId |
Appends a sortByCount stage to the pipeline.
| |
ToCollection |
Executes an aggregation pipeline that writes the results to a collection.
| |
ToCollectionAsync |
Executes an aggregation pipeline that writes the results to a collection.
| |
ToCursor |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.) | |
ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.) | |
UnionWithTWith |
Appends an $unionWith stage to the pipeline.
| |
UnwindTNewResult(FieldDefinitionTResult, IBsonSerializerTNewResult) | Obsolete.
Appends an unwind stage to the pipeline.
| |
UnwindTNewResult(FieldDefinitionTResult, AggregateUnwindOptionsTNewResult) |
Appends an unwind stage to the pipeline.
| |
VectorSearch |
Appends a vector search stage.
|