allowDiskUse lets the server know if it can use disk to store temporary results for the aggregation (requires mongodb 2.6 >).
Allow driver to bypass schema validation in MongoDB 3.2 or higher.
Return the query as cursor, on 2.6 > it returns as a real cursor on pre 2.6 it returns as an emulated cursor.
Explain returns the aggregation execution plan (requires mongodb 2.6 >).
maxTimeMS specifies a cumulative time limit in milliseconds for processing operations on the cursor. MongoDB interrupts the operation at the earliest following interrupt point.
Generated using TypeDoc
CollectionAggregationOptions.
http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#aggregate