Class AggregateOptions
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.
public bool? AllowDiskUse { get; set; }
Property Value
- bool?
BatchSize
Gets or sets the size of a batch.
public int? BatchSize { get; set; }
Property Value
- int?
BypassDocumentValidation
Gets or sets a value indicating whether to bypass document validation.
public bool? BypassDocumentValidation { get; set; }
Property Value
- bool?
Collation
Gets or sets the collation.
public Collation Collation { get; set; }
Property Value
Comment
Gets or sets the comment.
public BsonValue Comment { get; set; }
Property Value
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.
public BsonValue Hint { get; set; }
Property Value
Let
Gets or sets the "let" definition.
public BsonDocument Let { get; set; }
Property Value
MaxAwaitTime
Gets or sets the maximum await time.
public TimeSpan? MaxAwaitTime { get; set; }
Property Value
MaxTime
Gets or sets the maximum time.
public TimeSpan? MaxTime { get; set; }
Property Value
TranslationOptions
Gets or sets the translation options.
public ExpressionTranslationOptions TranslationOptions { get; set; }
Property Value
UseCursor
Gets or sets a value indicating whether to use a cursor.
[Obsolete("Server versions 3.6 and newer always use a cursor.")]
public bool? UseCursor { get; set; }
Property Value
- bool?