new UnorderedBulkOperation(){UnorderedBulkOperation}
Create a new UnorderedBulkOperation instance (INTERNAL TYPE, do not instantiate directly)
Properties:
| Name | Type | Description | 
|---|---|---|
| length | number | Get the number of operations in the bulk. | 
Returns:
UnorderedBulkOperation instance.Methods
- 
    execute(options, callback){Promise}
- 
    
    
    Execute the ordered bulk operation Name Type Default Description optionsobject null optional Optional settings. Name Type Default Description wnumber | string null optional The write concern. wtimeoutnumber null optional The write concern timeout. jboolean false optional Specify a journal write concern. fsyncboolean false optional Specify a file sync write concern. callbackUnorderedBulkOperation~resultCallback optional The result callback Throws:Returns:Promise if no callback passed
 
- 
    find(selector){FindOperatorsUnordered}
- 
    
    
    Initiate a find operation for an update/updateOne/remove/removeOne/replaceOne Name Type Description selectorobject The selector for the bulk operation. Throws:
- 
    insert(document){UnorderedBulkOperation}
- 
    
    
    Add a single insert document to the bulk operation Name Type Description documentobject the document to insert Throws:
Type Definitions
- 
    resultCallback(error, result)
- 
    
    
    The callback format for results Name Type Description errorMongoError An error instance representing the error during the execution. resultBulkWriteResult The bulk write result.