Click or drag to resize
IAggregateFluentExtensions Methods

The IAggregateFluentExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBucketTResult, TValue(IAggregateFluentTResult, ExpressionFuncTResult, TValue, IEnumerableTValue, AggregateBucketOptionsTValue)
Appends a $bucket stage to the pipeline.
Public methodStatic memberBucketTResult, TValue, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TValue, IEnumerableTValue, ExpressionFuncIGroupingTValue, TResult, TNewResult, AggregateBucketOptionsTValue)
Appends a $bucket stage to the pipeline.
Public methodStatic memberBucketAutoTResult, TValue(IAggregateFluentTResult, ExpressionFuncTResult, TValue, Int32, AggregateBucketAutoOptions)
Appends a $bucketAuto stage to the pipeline.
Public methodStatic memberBucketAutoTResult, TValue, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TValue, Int32, ExpressionFuncIGroupingTValue, TResult, TNewResult, AggregateBucketAutoOptions)
Appends a $bucketAuto stage to the pipeline.
Public methodStatic memberFacetTResult(IAggregateFluentTResult, AggregateFacetTResult)
Appends a $facet stage to the pipeline.
Public methodStatic memberFacetTResult(IAggregateFluentTResult, IEnumerableAggregateFacetTResult)
Appends a $facet stage to the pipeline.
Public methodStatic memberFacetTResult, TNewResult(IAggregateFluentTResult, AggregateFacetTResult)
Appends a $facet stage to the pipeline.
Public methodStatic memberFirstTResult
Returns the first document of the aggregate result.
Public methodStatic memberFirstAsyncTResult
Returns the first document of the aggregate result.
Public methodStatic memberFirstOrDefaultTResult
Returns the first document of the aggregate result, or the default value if the result set is empty.
Public methodStatic memberFirstOrDefaultAsyncTResult
Returns the first document of the aggregate result, or the default value if the result set is empty.
Public methodStatic memberGraphLookupTResult, TFrom(IAggregateFluentTResult, IMongoCollectionTFrom, FieldDefinitionTFrom, BsonValue, FieldDefinitionTFrom, BsonValue, AggregateExpressionDefinitionTResult, BsonValue, FieldDefinitionBsonDocument, IEnumerableBsonDocument, FieldDefinitionBsonDocument, Int32)
Appends a $graphLookup stage to the pipeline.
Public methodStatic memberGraphLookupTResult, TFrom, TConnectFrom, TConnectTo, TStartWith, TAs, TNewResult(IAggregateFluentTResult, IMongoCollectionTFrom, FieldDefinitionTFrom, TConnectFrom, FieldDefinitionTFrom, TConnectTo, AggregateExpressionDefinitionTResult, TStartWith, FieldDefinitionTNewResult, TAs, AggregateGraphLookupOptionsTFrom, TFrom, TNewResult)
Appends a $graphLookup stage to the pipeline.
Public methodStatic memberGraphLookupTResult, TFrom, TConnectFrom, TConnectTo, TStartWith, TAs, TNewResult(IAggregateFluentTResult, IMongoCollectionTFrom, ExpressionFuncTFrom, TConnectFrom, ExpressionFuncTFrom, TConnectTo, ExpressionFuncTResult, TStartWith, ExpressionFuncTNewResult, TAs, AggregateGraphLookupOptionsTFrom, TFrom, TNewResult)
Appends a $graphLookup stage to the pipeline.
Public methodStatic memberGraphLookupTResult, TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult(IAggregateFluentTResult, IMongoCollectionTFrom, ExpressionFuncTFrom, TConnectFrom, ExpressionFuncTFrom, TConnectTo, ExpressionFuncTResult, TStartWith, ExpressionFuncTNewResult, TAs, ExpressionFuncTAsElement, Int32, AggregateGraphLookupOptionsTFrom, TAsElement, TNewResult)
Appends a $graphLookup stage to the pipeline.
Public methodStatic memberGroupTResult(IAggregateFluentTResult, ProjectionDefinitionTResult, BsonDocument)
Appends a group stage to the pipeline.
Public methodStatic memberGroupTResult, TKey, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TKey, ExpressionFuncIGroupingTKey, TResult, TNewResult)
Appends a group stage to the pipeline.
Public methodStatic memberLookupTResult(IAggregateFluentTResult, String, FieldDefinitionTResult, FieldDefinitionBsonDocument, FieldDefinitionBsonDocument)
Appends a lookup stage to the pipeline.
Public methodStatic memberLookupTResult, TForeignDocument, TNewResult(IAggregateFluentTResult, IMongoCollectionTForeignDocument, ExpressionFuncTResult, Object, ExpressionFuncTForeignDocument, Object, ExpressionFuncTNewResult, Object, AggregateLookupOptionsTForeignDocument, TNewResult)
Appends a lookup stage to the pipeline.
Public methodStatic memberMatchTResult
Appends a match stage to the pipeline.
Public methodStatic memberProjectTResult(IAggregateFluentTResult, ProjectionDefinitionTResult, BsonDocument)
Appends a project stage to the pipeline.
Public methodStatic memberProjectTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TNewResult)
Appends a project stage to the pipeline.
Public methodStatic memberReplaceRootTResult, TNewResult
Appends a $replaceRoot stage to the pipeline.
Public methodStatic memberSingleTResult
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.
Public methodStatic memberSingleAsyncTResult
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.
Public methodStatic memberSingleOrDefaultTResult
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.
Public methodStatic memberSingleOrDefaultAsyncTResult
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.
Public methodStatic memberSortByTResult
Appends an ascending sort stage to the pipeline.
Public methodStatic memberSortByCountTResult, TKey
Appends a sortByCount stage to the pipeline.
Public methodStatic memberSortByDescendingTResult
Appends a descending sort stage to the pipeline.
Public methodStatic memberThenByTResult
Modifies the current sort stage by appending an ascending field specification to it.
Public methodStatic memberThenByDescendingTResult
Modifies the current sort stage by appending a descending field specification to it.
Public methodStatic memberUnwindTResult(IAggregateFluentTResult, FieldDefinitionTResult)
Appends an unwind stage to the pipeline.
Public methodStatic memberUnwindTResult(IAggregateFluentTResult, ExpressionFuncTResult, Object)
Appends an unwind stage to the pipeline.
Public methodStatic memberUnwindTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, Object, IBsonSerializerTNewResult) Obsolete.
Appends an unwind stage to the pipeline.
Public methodStatic memberUnwindTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, Object, AggregateUnwindOptionsTNewResult)
Appends an unwind stage to the pipeline.
Top
See Also