import { type mongo } from "https://deno.land/x/hex@0.6.5/src/lib/data/deps.ts";
const { AggregateOptions } = mongo;
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