Module Mongo::Operation::Result::Aggregatable
In: lib/mongo/operation/shared/result/aggregatable.rb

Defines custom behavior of bulk write results

@since 2.0.0

Methods

Public Instance methods

Aggregate the write concern errors returned from this result.

@example Aggregate the write concern errors.

  result.aggregate_write_concern_errors(100)

@param [ Integer ] count The number of documents already executed.

@return [ Array ] The aggregate write concern errors.

@since 2.0.0

Aggregate the write errors returned from this result.

@example Aggregate the write errors.

  result.aggregate_write_errors(0)

@param [ Integer ] count The number of documents already executed.

@return [ Array ] The aggregate write errors.

@since 2.0.0

[Validate]