Batch | mongodb (original) (raw)

Class Batch

Keeps the state of a unordered batch so we can rewrite the results correctly after command execution

Type Parameters

Index

Constructors

constructor

Parameters

Returns Batch<T>

Properties

batchType

currentIndex

currentIndex: number

operations

operations: T[]

originalIndexes

originalIndexes: number[]

originalZeroIndex

originalZeroIndex: number

size

size: number

sizeBytes

sizeBytes: number