import { type AggregateOptions } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
Properties
The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
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
collation: DocumentSpecify collation settings for operation. See aggregation documentation(https://docs.mongodb.com/manual/reference/command/aggregate).
optional
hint: string | DocumentAdd an index selection hint to an aggregation command