The result of a bulk write.
Create a new BulkWriteResult instance
NOTE: Internal Type, do not instantiate directly
Number of documents deleted.
Number of documents inserted.
Inserted document generated Id's, hash key is the index of the originating operation
Number of documents matched for update.
Number of documents modified.
The number of inserted documents
Number of matched documents
Number of documents updated physically on disk
Number of removed documents
Number of upserted documents
Evaluates to true if the bulk operation correctly executes
Number of documents upserted.
Upserted document generated Id's, hash key is the index of the originating operation
Returns an array of all inserted ids
Retrieve lastOp if available
Returns raw internal result
Returns the upserted id at the given index
Name Type Descriptionindex
number
the number of the upserted id to return, returns undefined if no result for passed in index
Returns an array of all upserted ids
Retrieve the write concern error if any
Returns a specific write error object
Name Type Descriptionindex
number
of the write error to return, returns null if there is no result for passed in index
Returns the number of write errors from the bulk operation
Retrieve all write errors
Returns true if the bulk operation contains a write error
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4