Type Alias RunCommandOptions

RunCommandOptions: {
    readPreference?: ReadPreferenceLike;
    session?: ClientSession;
    timeoutMS?: number;
} & BSONSerializeOptions & Abortable

Type declaration

  • OptionalreadPreference?: ReadPreferenceLike

    The read preference

  • Optionalsession?: ClientSession

    Specify ClientSession for this command

  • OptionaltimeoutMS?: number

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