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
- T = Document
Index
Constructors
constructor
Parameters
- batchType: BatchType
- originalZeroIndex: number
Returns Batch<T>
Properties
batchType
currentIndex
currentIndex: number
operations
operations: T[]
originalIndexes
originalIndexes: number[]
originalZeroIndex
originalZeroIndex: number
size
size: number
sizeBytes
sizeBytes: number