Type Alias RunCursorCommandOptions

RunCursorCommandOptions: {
    awaitData?: boolean;
    readPreference?: ReadPreferenceLike;
    session?: ClientSession;
    tailable?: boolean;
    timeoutMode?: CursorTimeoutMode;
    timeoutMS?: number;
} & BSONSerializeOptions

Type declaration

  • OptionalawaitData?: boolean
  • OptionalreadPreference?: ReadPreferenceLike
  • Optionalsession?: ClientSession
  • Optionaltailable?: boolean
  • OptionaltimeoutMode?: CursorTimeoutMode

    timeoutMode has no effect and will be removed in a future release.

  • OptionaltimeoutMS?: number

    timeoutMS has no effect and will be removed in a future release.