Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandOptions

Hierarchy

  • CommandOptions

Index

Properties

Optional maxTimeMS

maxTimeMS: number

Number of milliseconds to wait before aborting the query.

Optional readPreference

readPreference: ReadPreference | string

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

Generated using TypeDoc