| Class | Mongo::BulkWrite::ResultCombiner |
| In: |
lib/mongo/bulk_write/result_combiner.rb
|
| Parent: | Object |
| count | [R] | @return [ Integer ] count The number of documents in the entire batch. |
| results | [R] | @return [ Hash ] results The results hash. |
Adds a result to the overall results.
@api private
@example Add the result.
combiner.combine!(result, count)
@param [ Operation::Result ] result The result to combine. @param [ Integer ] count The count of requests in the batch.
@since 2.1.0
Get the final result.
@api private
@example Get the final result.
combinator.result
@return [ BulkWrite::Result ] The final result.
@since 2.1.0