123456789_123456789_123456789_123456789_123456789_

Module: Mongo::BulkWrite::Transformable Private

Do not use. This module is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/mongo/bulk_write/transformable.rb

Overview

Defines behavior around transformations.

Since:

  • 2.1.0

Constant Summary

Instance Method Summary

Instance Method Details

#transform(name, document) (private)

Since:

  • 2.1.0

[ GitHub ]

  
# File 'lib/mongo/bulk_write/transformable.rb', line 150

def transform(name, document)
  validate(name, document)
  MAPPERS[name].call(document)
end