Variable AggregateOptions.allowDiskUse
Enables writing to temporary files. When set to true, aggregation operations can write data to the tmp subdirectory in the dbPath directory.
Enables writing to temporary files. When set to true, aggregation operations can write data to the tmp subdirectory in the dbPath directory.