Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractOperation<TResult>

This class acts as a parent class for any operation and is responsible for setting this.options, as well as setting and getting a session. Additionally, this class implements hasAspect, which determines whether an operation has a specific aspect.

internal

(?<=)Type parameters类型参数

  • TResult = any

Hierarchy层级

Index索引

Constructors构造函数

Properties属性

Accessors访问器

Methods方法

Constructors构造函数

constructor

Properties属性

[kSession]

[kSession]: ClientSession

Optional bsonOptions

bypassPinningCheck

bypassPinningCheck: boolean

cmd

ns

options

options: Document

readPreference

readPreference: ReadPreference

server

server: Server

Accessors访问器

canRetryRead

  • get canRetryRead(): boolean

canRetryWrite

  • get canRetryWrite(): boolean

session

Methods方法

Abstract execute

hasAspect

  • hasAspect(aspect: symbol): boolean

Generated using TypeDoc