Skip to main content
Version: Next

MongoCountOptions

Options for MongoDB count operations.

Hierarchy

Index

Properties

optionalinheritedcollation

collation?: CollationOptions

optionalctx

ctx?: ClientSession

optionalinheritedindexHint

indexHint?: string | Dictionary

optionalloggerContext

loggerContext?: LoggingOptions

optionalinheritedmaxTimeMS

maxTimeMS?: number

optionalinheritedsignal

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.