UnorderedCombiner — Documentation by YARD 0.9.37 (original) (raw)

Class: Mongo::BulkWrite::UnorderedCombinerPrivate

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Combines groups of bulk write operations in no order.

Constant Summary

Constants included from Transformable

Transformable::DELETE_MANY, Transformable::DELETE_MANY_TRANSFORM, Transformable::DELETE_ONE, Transformable::DELETE_ONE_TRANSFORM, Transformable::INSERT_ONE, Transformable::INSERT_ONE_TRANSFORM, Transformable::MAPPERS, Transformable::REPLACE_ONE, Transformable::REPLACE_ONE_TRANSFORM, Transformable::UPDATE_MANY, Transformable::UPDATE_MANY_TRANSFORM, Transformable::UPDATE_ONE, Transformable::UPDATE_ONE_TRANSFORM

Instance Attribute Summary

Attributes included from Combineable

#requests

Instance Method Summarycollapse

Methods included from Combineable

#has_array_filters?, #has_collation?, #has_hint?, #initialize

Methods included from Validatable

#validate

Instance Method Details

#combine ⇒ Array

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Combine the requests in order.

| 41 42 43 44 45 | # File 'lib/mongo/bulk_write/unordered_combiner.rb', line 41 def combine combine_requests({}).map do |name, ops| { name => ops } end end | | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |