Click or drag to resize
IAggregateFluentExtensions Methods

The IAggregateFluentExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFirstAsyncTResult
Returns the first document of the aggregate result.
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 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 memberSingleAsyncTResult
Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly 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)
Appends an unwind stage to the pipeline.
Top
See Also