Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BulkWriteResult

Index

Properties

nInserted

nInserted: number

number of inserted documents.

nModified

nModified: number

Number of documents updated physically on disk.

nRemoved

nRemoved: number

Number of removed documents.

nUpdated

nUpdated: number

number of documents updated logically.

nUpserted

nUpserted: number

Number of upserted documents.

ok

ok: number

Did bulk operation correctly execute.

Methods

getInsertedIds

  • getInsertedIds(): Array<Object>

getLastOp

  • getLastOp(): Object

getRawResponse

  • getRawResponse(): Object

getUpsertedIdAt

  • getUpsertedIdAt(index: number): Object

getUpsertedIds

  • getUpsertedIds(): Array<Object>

getWriteConcernError

getWriteErrorAt

getWriteErrorCount

  • getWriteErrorCount(): number

getWriteErrors

  • getWriteErrors(): Array<Object>

hasWriteErrors

  • hasWriteErrors(): boolean

Generated using TypeDoc