Skip to main content
Version: 7.1

MongoQueryOptions

Options shared across MongoDB query operations.

Hierarchy

Index

Properties

optionalallowDiskUse

allowDiskUse?: boolean

optionalcollation

collation?: CollationOptions

optionalindexHint

indexHint?: string | Dictionary

optionalmaxTimeMS

maxTimeMS?: number

optionalsignal

signal?: AbortSignal

Forwarded to the MongoDB driver. When fired, the driver aborts the in-flight operation by closing the underlying socket; the rejection reason is signal.reason.