Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CollectionAggregationOptions

Hierarchy

  • CollectionAggregationOptions

Index

Properties

Optional allowDiskUse

allowDiskUse: undefined | true | false

allowDiskUse lets the server know if it can use disk to store temporary results for the aggregation (requires mongodb 2.6 >).

Optional bypassDocumentValidation

bypassDocumentValidation: undefined | true | false

Allow driver to bypass schema validation in MongoDB 3.2 or higher.

Optional cursor

cursor: undefined | object

Return the query as cursor, on 2.6 > it returns as a real cursor on pre 2.6 it returns as an emulated cursor.

Optional explain

explain: undefined | true | false

Explain returns the aggregation execution plan (requires mongodb 2.6 >).

Optional maxTimeMS

maxTimeMS: undefined | true | false

maxTimeMS specifies a cumulative time limit in milliseconds for processing operations on the cursor. MongoDB interrupts the operation at the earliest following interrupt point.

Optional readPreference

readPreference: ReadPreference | string

Generated using TypeDoc