Skip to main content
Version: Next

DriverMethodOptions

Base options shared by all driver methods (transaction context, schema, logging).

Hierarchy

Index

Properties

optionalctx

ctx?: any

optionalinheritedinflightQueryAbortStrategy

inflightQueryAbortStrategy?: InflightQueryAbortStrategy

Strategy used when the signal fires while the query is in flight. See InflightQueryAbortStrategy for caveats around streams and MongoDB.

optionalloggerContext

loggerContext?: LogContext

optionallogging

logging?: LoggingOptions

optionalschema

schema?: string

optionalinheritedsignal

signal?: AbortSignal

AbortSignal that cancels the query when fired.