Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BulkWriteResult

Hierarchy

  • BulkWriteResult

Index

Constructors

Properties

result: BulkResult

Accessors

  • get deletedCount(): number
  • get insertedCount(): number
  • get insertedIds(): {}
  • Inserted document generated Id's, hash key is the index of the originating operation

    Returns {}

    • [key: number]: any
  • get matchedCount(): number
  • get modifiedCount(): number
  • get nInserted(): number
  • get nMatched(): number
  • get nModified(): number
  • get nRemoved(): number
  • get nUpserted(): number
  • get ok(): number
  • get upsertedCount(): number
  • get upsertedIds(): {}
  • Upserted document generated Id's, hash key is the index of the originating operation

    Returns {}

    • [key: number]: any

Methods

  • getUpsertedIdAt(index: number): undefined | Document
  • getWriteErrorAt(index: number): undefined | WriteError
  • getWriteErrorCount(): number
  • hasWriteErrors(): boolean
  • isOk(): boolean
  • toString(): string

Generated using TypeDoc