Class AggregateArgs
Represents options for the Aggregate command.
public class AggregateArgs
- Inheritance
-
AggregateArgs
- Inherited Members
- Extension Methods
Properties
AllowDiskUse
Gets or sets a value indicating whether disk use is allowed.
public bool? AllowDiskUse { get; set; }
Property Value
- bool?
BatchSize
Gets or sets the size of a batch when using a cursor.
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?
A value indicating whether to bypass document validation.
Collation
Gets or sets the collation.
public Collation Collation { get; set; }
Property Value
- Collation
The collation.
MaxTime
Gets or sets the max time the server should spend on the aggregation command.
public TimeSpan? MaxTime { get; set; }
Property Value
OutputMode
Gets or sets the output mode.
[Obsolete("Server versions 3.6 and newer always use a cursor.")]
public AggregateOutputMode OutputMode { get; set; }
Property Value
Pipeline
Gets or sets the pipeline.
public IEnumerable<BsonDocument> Pipeline { get; set; }