Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MongoClientBulkWriteResult

Result propagated from mongodb driver bulk write result.

Hierarchy

  • MongoClientBulkWriteResult

Index

Constructors

constructor

Methods

getDeletedCount

  • getDeletedCount(): number
  • Returns the number of deleted documents

    Returns number

getInsertedCount

  • getInsertedCount(): number
  • Returns the number of inserted documents

    Returns number

getMatchedCount

  • getMatchedCount(): number
  • Returns the number of matched documents

    Returns number

getModifiedCount

  • getModifiedCount(): number
  • Returns the number of modified documents

    Returns number

getUpserts

  • getUpserts(): {}[]
  • An unmodifiable list of upsert data. Each entry has the index of the request that lead to the upsert, and the generated ID of the upsert.

    Returns {}[]

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc