Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AggregateOperation<T>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

[kSession]

[kSession]: ClientSession

Optional bsonOptions

bsonOptions?: BSONSerializeOptions

bypassPinningCheck

bypassPinningCheck: boolean

cmd

Optional explain

explain?: Explain

hasWriteStage

hasWriteStage: boolean

Optional logger

logger?: Logger

ns

options

pipeline

pipeline: Document[]

Optional readConcern

readConcern?: ReadConcern

readPreference

readPreference: ReadPreference

server

server: Server

target

target: string | 1

trySecondaryWrite

trySecondaryWrite: boolean

Optional writeConcern

writeConcern?: WriteConcern

Accessors

canRetryRead

  • get canRetryRead(): boolean

canRetryWrite

  • get canRetryWrite(): boolean

session

Methods

addToPipeline

execute

executeCommand

hasAspect

  • hasAspect(aspect: symbol): boolean

Generated using TypeDoc