Table of Contents

Class AggregateOptions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Options for an aggregate operation.

public class AggregateOptions
Inheritance
AggregateOptions
Inherited Members

Properties

AllowDiskUse

Gets or sets a value indicating whether to allow disk use.

BatchSize

Gets or sets the size of a batch.

BypassDocumentValidation

Gets or sets a value indicating whether to bypass document validation.

Collation

Gets or sets the collation.

Comment

Gets or sets the comment.

Hint

Gets or sets the hint. This must either be a BsonString representing the index name or a BsonDocument representing the key pattern of the index.

Let

Gets or sets the "let" definition.

MaxAwaitTime

Gets or sets the maximum await time.

MaxTime

Gets or sets the maximum time.

TranslationOptions

Gets or sets the translation options.

UseCursor

Gets or sets a value indicating whether to use a cursor.

Operators

implicit operator AggregateOptions(ExpressionTranslationOptions)

Creates an AggregateOptions instance with the specified translation options.