Skip to main content
Module

x/denomongo_unittest_utils/deps.ts>AggregateOptions

Unittest utilities for deno_mongo
Latest
interface AggregateOptions
import { type AggregateOptions } from "https://deno.land/x/denomongo_unittest_utils@v0.5.3/deps.ts";

Properties

optional
readPreference: string

The preferred read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).

optional
batchSize: number
optional
explain: boolean
optional
allowDiskUse: boolean
optional
maxTimeMS: number

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
bypassDocumentValidation: boolean
optional
raw: boolean
optional
promoteLongs: boolean
optional
promoteValues: boolean
optional
promoteBuffers: boolean
optional
collation: Document

Specify collation settings for operation. See aggregation documentation(https://docs.mongodb.com/manual/reference/command/aggregate).

optional
comment: string

Add a comment to an aggregation command

optional
hint: string | Document

Add an index selection hint to an aggregation command