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.

Type parameters

  • TResult = any

Hierarchy

Index

Constructors

Properties

[kSession]: ClientSession
bsonOptions?: BSONSerializeOptions
bypassPinningCheck: boolean
options: Document
readPreference: ReadPreference
server: Server
trySecondaryWrite: boolean

Accessors

  • get canRetryRead(): boolean
  • get canRetryWrite(): boolean

Methods

  • hasAspect(aspect: symbol): boolean

Generated using TypeDoc