IAggregateFluentExtensions Class (original) (raw)

Name

Description

Public methodStatic member

BucketTResult, TValue(IAggregateFluentTResult, ExpressionFuncTResult, TValue, IEnumerableTValue, AggregateBucketOptionsTValue)

Appends a $bucket stage to the pipeline.

Public methodStatic member

BucketTResult, TValue, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TValue, IEnumerableTValue, ExpressionFuncIGroupingTValue, TResult, TNewResult, AggregateBucketOptionsTValue)

Appends a $bucket stage to the pipeline.

Public methodStatic member

BucketAutoTResult, TValue(IAggregateFluentTResult, ExpressionFuncTResult, TValue, Int32, AggregateBucketAutoOptions)

Appends a $bucketAuto stage to the pipeline.

Public methodStatic member

BucketAutoTResult, TValue, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TValue, Int32, ExpressionFuncIGroupingTValue, TResult, TNewResult, AggregateBucketAutoOptions)

Appends a $bucketAuto stage to the pipeline.

Public methodStatic member

FacetTResult(IAggregateFluentTResult, AggregateFacetTResult)

Appends a $facet stage to the pipeline.

Public methodStatic member

FacetTResult(IAggregateFluentTResult, IEnumerableAggregateFacetTResult)

Appends a $facet stage to the pipeline.

Public methodStatic member

FacetTResult, TNewResult(IAggregateFluentTResult, AggregateFacetTResult)

Appends a $facet stage to the pipeline.

Public methodStatic member

FirstTResult

Returns the first document of the aggregate result.

Public methodStatic member

FirstAsyncTResult

Returns the first document of the aggregate result.

Public methodStatic member

FirstOrDefaultTResult

Returns the first document of the aggregate result, or the default value if the result set is empty.

Public methodStatic member

FirstOrDefaultAsyncTResult

Returns the first document of the aggregate result, or the default value if the result set is empty.

Public methodStatic member

GraphLookupTResult, TFrom(IAggregateFluentTResult, IMongoCollectionTFrom, FieldDefinitionTFrom, BsonValue, FieldDefinitionTFrom, BsonValue, AggregateExpressionDefinitionTResult, BsonValue, FieldDefinitionBsonDocument, IEnumerableBsonDocument, FieldDefinitionBsonDocument, Int32)

Appends a $graphLookup stage to the pipeline.

Public methodStatic member

GraphLookupTResult, 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 member

GraphLookupTResult, 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 member

GraphLookupTResult, 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 member

GroupTResult(IAggregateFluentTResult, ProjectionDefinitionTResult, BsonDocument)

Appends a group stage to the pipeline.

Public methodStatic member

GroupTResult, TKey, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TKey, ExpressionFuncIGroupingTKey, TResult, TNewResult)

Appends a group stage to the pipeline.

Public methodStatic member

LookupTResult(IAggregateFluentTResult, IMongoCollectionBsonDocument, BsonDocument, PipelineDefinitionBsonDocument, BsonDocument, FieldDefinitionBsonDocument, IEnumerableBsonDocument)

Appends a lookup stage to the pipeline.

Public methodStatic member

LookupTResult(IAggregateFluentTResult, String, FieldDefinitionTResult, FieldDefinitionBsonDocument, FieldDefinitionBsonDocument)

Appends a lookup stage to the pipeline.

Public methodStatic member

LookupTResult, TForeignDocument, TNewResult(IAggregateFluentTResult, IMongoCollectionTForeignDocument, ExpressionFuncTResult, Object, ExpressionFuncTForeignDocument, Object, ExpressionFuncTNewResult, Object, AggregateLookupOptionsTForeignDocument, TNewResult)

Appends a lookup stage to the pipeline.

Public methodStatic member

LookupTResult, TForeignDocument, TAsElement, TAs, TNewResult(IAggregateFluentTResult, IMongoCollectionTForeignDocument, BsonDocument, PipelineDefinitionTForeignDocument, TAsElement, ExpressionFuncTNewResult, TAs, AggregateLookupOptionsTForeignDocument, TNewResult)

Appends a lookup stage to the pipeline.

Public methodStatic member

MatchTResult

Appends a match stage to the pipeline.

Public methodStatic member

ProjectTResult(IAggregateFluentTResult, ProjectionDefinitionTResult, BsonDocument)

Appends a project stage to the pipeline.

Public methodStatic member

ProjectTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, TNewResult)

Appends a project stage to the pipeline.

Public methodStatic member

ReplaceRootTResult, TNewResult

Appends a $replaceRoot stage to the pipeline.

Public methodStatic member

ReplaceWithTResult, TNewResult

Appends a $replaceWith stage to the pipeline.

Public methodStatic member

SingleTResult

Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.

Public methodStatic member

SingleAsyncTResult

Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document.

Public methodStatic member

SingleOrDefaultTResult

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 member

SingleOrDefaultAsyncTResult

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 member

SortByTResult

Appends an ascending sort stage to the pipeline.

Public methodStatic member

SortByCountTResult, TKey

Appends a sortByCount stage to the pipeline.

Public methodStatic member

SortByDescendingTResult

Appends a descending sort stage to the pipeline.

Public methodStatic member

ThenByTResult

Modifies the current sort stage by appending an ascending field specification to it.

Public methodStatic member

ThenByDescendingTResult

Modifies the current sort stage by appending a descending field specification to it.

Public methodStatic member

UnwindTResult(IAggregateFluentTResult, FieldDefinitionTResult)

Appends an unwind stage to the pipeline.

Public methodStatic member

UnwindTResult(IAggregateFluentTResult, ExpressionFuncTResult, Object)

Appends an unwind stage to the pipeline.

Public methodStatic member

UnwindTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, Object, IBsonSerializerTNewResult)

Obsolete.

Appends an unwind stage to the pipeline.

Public methodStatic member

UnwindTResult, TNewResult(IAggregateFluentTResult, ExpressionFuncTResult, Object, AggregateUnwindOptionsTNewResult)

Appends an unwind stage to the pipeline.