Class GroupOperation<TResult>
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a group operation.
Type Parameters
TResult
The type of the result.
- Inheritance
-
GroupOperation<TResult>
- Implements
-
IRead
Operation <IEnumerable<TResult>>
- Inherited Members
- Extension Methods
Constructors
- Group
Operation(Collection Namespace, Bson Document, Bson Document, Bson Java Script, Bson Document, Message Encoder Settings) Initializes a new instance of the GroupOperation<TResult> class.
- Group
Operation(Collection Namespace, Bson Java Script, Bson Document, Bson Java Script, Bson Document, Message Encoder Settings) Initializes a new instance of the GroupOperation<TResult> class.
Properties
- Collation
Gets or sets the collation.
- Collection
Namespace Gets the collection namespace.
- Filter
Gets the filter.
- Finalize
Function Gets or sets the finalize function.
- Initial
Gets the initial aggregation result for each group.
- Key
Gets the key.
- Key
Function Gets the key function.
- Max
Time Gets or sets the maximum time the server should spend on this operation.
- Message
Encoder Settings Gets the message encoder settings.
- Reduce
Function Gets the reduce function.
- Result
Serializer Gets or sets the result serializer.
Methods
- Execute(IRead
Binding, Cancellation Token) Executes the operation.
- Execute
Async(IRead Binding, Cancellation Token) Executes the operation.