Click or drag to resize
IAggregateFluentExtensions Class
Inheritance Hierarchy
SystemObject
  MongoDB.DriverIAggregateFluentExtensions

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax
public static class IAggregateFluentExtensions

The IAggregateFluentExtensions type exposes the following members.

Methods
  NameDescription
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 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 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 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