Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BulkWriteResult

Hierarchy

  • BulkWriteResult

Index

Constructors

constructor

Properties

result

result: BulkResult

Accessors

deletedCount

  • get deletedCount(): number

insertedCount

  • get insertedCount(): number

insertedIds

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

    Returns {}

    • [key: number]: any

matchedCount

  • get matchedCount(): number

modifiedCount

  • get modifiedCount(): number

nInserted

  • get nInserted(): number

nMatched

  • get nMatched(): number

nModified

  • get nModified(): number

nRemoved

  • get nRemoved(): number

nUpserted

  • get nUpserted(): number

ok

  • get ok(): number

upsertedCount

  • get upsertedCount(): number

upsertedIds

  • get upsertedIds(): {}
  • Upserted document generated Id's, hash key is the index of the originating operation

    Returns {}

    • [key: number]: any

Methods

getInsertedIds

getLastOp

getRawResponse

getUpsertedIdAt

  • getUpsertedIdAt(index: number): undefined | Document

getUpsertedIds

getWriteConcernError

getWriteErrorAt

  • getWriteErrorAt(index: number): undefined | WriteError

getWriteErrorCount

  • getWriteErrorCount(): number

getWriteErrors

hasWriteErrors

  • hasWriteErrors(): boolean

isOk

  • isOk(): boolean

toJSON

toString

  • toString(): string

Generated using TypeDoc