IAggregateFluent(TResult) Interface (original) (raw)

Name

Description

Public Extension Method

AnyTResult

Determines whether the cursor returned by a cursor source contains any documents.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

AnyAsyncTResult

Determines whether the cursor returned by a cursor source contains any documents.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

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

Overloaded.

Appends a $bucket stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a $bucket stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a $bucketAuto stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a $bucketAuto stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FacetTResult(IEnumerableAggregateFacetTResult)

Overloaded.

Appends a $facet stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FacetTResult(AggregateFacetTResult)

Overloaded.

Appends a $facet stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FacetTResult, TNewResult(AggregateFacetTResult)

Overloaded.

Appends a $facet stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FirstTResult(CancellationToken)

Overloaded.

Returns the first document of a cursor returned by a cursor source.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

FirstTResult(CancellationToken)

Overloaded.

Returns the first document of the aggregate result.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FirstAsyncTResult(CancellationToken)

Overloaded.

Returns the first document of a cursor returned by a cursor source.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

FirstAsyncTResult(CancellationToken)

Overloaded.

Returns the first document of the aggregate result.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FirstOrDefaultTResult(CancellationToken)

Overloaded.

Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

FirstOrDefaultTResult(CancellationToken)

Overloaded.

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

(Defined by IAggregateFluentExtensions.)

Public Extension Method

FirstOrDefaultAsyncTResult(CancellationToken)

Overloaded.

Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

FirstOrDefaultAsyncTResult(CancellationToken)

Overloaded.

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

(Defined by IAggregateFluentExtensions.)

Public Extension Method

ForEachAsyncTResult(FuncTResult, Task, CancellationToken)

Overloaded.

Calls a delegate for each document returned by the cursor.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

ForEachAsyncTResult(FuncTResult, Int32, Task, CancellationToken)

Overloaded.

Calls a delegate for each document returned by the cursor.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

ForEachAsyncTResult(ActionTResult, CancellationToken)

Overloaded.

Calls a delegate for each document returned by the cursor.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

ForEachAsyncTResult(ActionTResult, Int32, CancellationToken)

Overloaded.

Calls a delegate for each document returned by the cursor.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

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

Overloaded.

Appends a $graphLookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

GraphLookupTResult, TFrom, TConnectFrom, TConnectTo, TStartWith, TAs, TNewResult(IMongoCollectionTFrom, FieldDefinitionTFrom, TConnectFrom, FieldDefinitionTFrom, TConnectTo, AggregateExpressionDefinitionTResult, TStartWith, FieldDefinitionTNewResult, TAs, AggregateGraphLookupOptionsTFrom, TFrom, TNewResult)

Overloaded.

Appends a $graphLookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

GraphLookupTResult, TFrom, TConnectFrom, TConnectTo, TStartWith, TAs, TNewResult(IMongoCollectionTFrom, ExpressionFuncTFrom, TConnectFrom, ExpressionFuncTFrom, TConnectTo, ExpressionFuncTResult, TStartWith, ExpressionFuncTNewResult, TAs, AggregateGraphLookupOptionsTFrom, TFrom, TNewResult)

Overloaded.

Appends a $graphLookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

GraphLookupTResult, TFrom, TConnectFrom, TConnectTo, TStartWith, TAsElement, TAs, TNewResult(IMongoCollectionTFrom, ExpressionFuncTFrom, TConnectFrom, ExpressionFuncTFrom, TConnectTo, ExpressionFuncTResult, TStartWith, ExpressionFuncTNewResult, TAs, ExpressionFuncTAsElement, Int32, AggregateGraphLookupOptionsTFrom, TAsElement, TNewResult)

Overloaded.

Appends a $graphLookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

GroupTResult(ProjectionDefinitionTResult, BsonDocument)

Overloaded.

Appends a group stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a group stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

LookupTResult(String, FieldDefinitionTResult, FieldDefinitionBsonDocument, FieldDefinitionBsonDocument)

Overloaded.

Appends a lookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a lookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a lookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

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

Overloaded.

Appends a lookup stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

MatchTResult

Appends a match stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

ProjectTResult(ProjectionDefinitionTResult, BsonDocument)

Overloaded.

Appends a project stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

ProjectTResult, TNewResult(ExpressionFuncTResult, TNewResult)

Overloaded.

Appends a project stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

ReplaceRootTResult, TNewResult

Appends a $replaceRoot stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

ReplaceWithTResult, TNewResult

Appends a $replaceWith stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SingleTResult(CancellationToken)

Overloaded.

Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

SingleTResult(CancellationToken)

Overloaded.

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

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SingleAsyncTResult(CancellationToken)

Overloaded.

Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

SingleAsyncTResult(CancellationToken)

Overloaded.

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

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SingleOrDefaultTResult(CancellationToken)

Overloaded.

Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. This method throws an exception if the cursor contains more than one document.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

SingleOrDefaultTResult(CancellationToken)

Overloaded.

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.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SingleOrDefaultAsyncTResult(CancellationToken)

Overloaded.

Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. This method throws an exception if the cursor contains more than one document.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

SingleOrDefaultAsyncTResult(CancellationToken)

Overloaded.

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.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SortByTResult

Appends an ascending sort stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SortByCountTResult, TKey

Appends a sortByCount stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

SortByDescendingTResult

Appends a descending sort stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

ToEnumerableTResult

Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

ToListTResult

Returns a list containing all the documents returned by the cursor returned by a cursor source.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

ToListAsyncTResult

Returns a list containing all the documents returned by the cursor returned by a cursor source.

(Defined by IAsyncCursorSourceExtensions.)

Public Extension Method

UnwindTResult(ExpressionFuncTResult, Object)

Overloaded.

Appends an unwind stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

UnwindTResult(FieldDefinitionTResult)

Overloaded.

Appends an unwind stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

UnwindTResult, TNewResult(ExpressionFuncTResult, Object, IBsonSerializerTNewResult)

Overloaded.

Appends an unwind stage to the pipeline.

(Defined by IAggregateFluentExtensions.)

Public Extension Method

UnwindTResult, TNewResult(ExpressionFuncTResult, Object, AggregateUnwindOptionsTNewResult)

Overloaded.

Appends an unwind stage to the pipeline.

(Defined by IAggregateFluentExtensions.)