AggregateOptions constructor
AggregateOptions({
- bool allowDiskUse = false,
- int? maxTimeMS,
- bool bypassDocumentValidation = false,
- ReadConcern? readConcern,
- CollationOptions? collation,
- String? comment,
- WriteConcern? writeConcern,
Implementation
AggregateOptions(
{this.allowDiskUse = false,
this.maxTimeMS,
this.bypassDocumentValidation = false,
this.readConcern,
this.collation,
this.comment,
this.writeConcern}) {
if (maxTimeMS != null && maxTimeMS! < 1) {
throw MongoDartError('MaxTimeMS parameter must be a positive value');
}
}