IAggregateFluent<TResult> Interface |
Namespace: MongoDB.Driver
The IAggregateFluent<TResult> type exposes the following members.
Name | Description | |
---|---|---|
![]() | AppendStage<TNewResult> |
Appends the stage to the pipeline.
|
![]() | As<TNewResult> |
Changes the result type of the pipeline.
|
![]() | Bucket<TValue>(AggregateExpressionDefinition<TResult, TValue>, IEnumerable<TValue>, AggregateBucketOptions<TValue>) |
Appends a $bucket stage to the pipeline.
|
![]() | Bucket<TValue, TNewResult>(AggregateExpressionDefinition<TResult, TValue>, IEnumerable<TValue>, ProjectionDefinition<TResult, TNewResult>, AggregateBucketOptions<TValue>) |
Appends a $bucket stage to the pipeline with a custom projection.
|
![]() | BucketAuto<TValue>(AggregateExpressionDefinition<TResult, TValue>, Int32, AggregateBucketAutoOptions) |
Appends a $bucketAuto stage to the pipeline.
|
![]() | BucketAuto<TValue, TNewResult>(AggregateExpressionDefinition<TResult, TValue>, Int32, ProjectionDefinition<TResult, 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 IMongoCollection<TDocument>.
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(FieldDefinition<TResult>, DensifyRange,FieldDefinition<TResult>[]) |
Appends a $densify stage to the pipeline.
|
![]() | Densify(FieldDefinition<TResult>, DensifyRange, IEnumerable<FieldDefinition<TResult>>) |
Appends a $densify stage to the pipeline.
|
![]() | Facet<TNewResult> |
Appends a $facet stage to the pipeline.
|
![]() | GraphLookup<TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult> |
Appends a $graphLookup stage to the pipeline.
|
![]() | Group<TNewResult> |
Appends a group stage to the pipeline.
|
![]() | Limit |
Appends a limit stage to the pipeline.
|
![]() | Lookup<TForeignDocument, TNewResult>(String, FieldDefinition<TResult>, FieldDefinition<TForeignDocument>, FieldDefinition<TNewResult>, AggregateLookupOptions<TForeignDocument, TNewResult>) |
Appends a lookup stage to the pipeline.
|
![]() | Lookup<TForeignDocument, TAsElement, TAs, TNewResult>(IMongoCollection<TForeignDocument>, BsonDocument, PipelineDefinition<TForeignDocument, TAsElement>, FieldDefinition<TNewResult, TAs>, AggregateLookupOptions<TForeignDocument, TNewResult>) |
Appends a lookup stage to the pipeline.
|
![]() | Match |
Appends a match stage to the pipeline.
|
![]() | Merge<TOutput> |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
|
![]() | MergeAsync<TOutput> |
Appends a merge stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
|
![]() | OfType<TNewResult> |
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(IMongoCollection<TResult>, 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(IMongoCollection<TResult>, CancellationToken) |
Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection.
|
![]() | Project<TNewResult> |
Appends a project stage to the pipeline.
|
![]() | ReplaceRoot<TNewResult> |
Appends a $replaceRoot stage to the pipeline.
|
![]() | ReplaceWith<TNewResult> |
Appends a $replaceWith stage to the pipeline.
|
![]() | Search(SearchDefinition<TResult>, SearchOptions<TResult>) |
Appends a $search stage to the pipeline.
|
![]() | Search(SearchDefinition<TResult>, SearchHighlightOptions<TResult>, String, SearchCountOptions, Boolean, Boolean) |
Appends a $search stage to the pipeline.
|
![]() | SearchMeta |
Appends a $searchMeta stage to the pipeline.
|
![]() | SetWindowFields<TWindowFields>(AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>) |
Appends a $setWindowFields to the pipeline.
|
![]() | SetWindowFields<TPartitionBy, TWindowFields>(AggregateExpressionDefinition<TResult, TPartitionBy>, AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>) |
Appends a $setWindowFields to the pipeline.
|
![]() | SetWindowFields<TPartitionBy, TWindowFields>(AggregateExpressionDefinition<TResult, TPartitionBy>, SortDefinition<TResult>, AggregateExpressionDefinition<ISetWindowFieldsPartition<TResult>, TWindowFields>) |
Appends a $setWindowFields to the pipeline.
|
![]() | Skip |
Appends a skip stage to the pipeline.
|
![]() | Sort |
Appends a sort stage to the pipeline.
|
![]() | SortByCount<TId> |
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 IAsyncCursorSource<TDocument>.) |
![]() | ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSource<TDocument>.) |
![]() | UnionWith<TWith> |
Appends an $unionWith stage to the pipeline.
|
![]() | Unwind<TNewResult>(FieldDefinition<TResult>, IBsonSerializer<TNewResult>) | Obsolete.
Appends an unwind stage to the pipeline.
|
![]() | Unwind<TNewResult>(FieldDefinition<TResult>, AggregateUnwindOptions<TNewResult>) |
Appends an unwind stage to the pipeline.
|