Class: ROM::Changeset::Create

Inherits:
Stateful show all
Defined in:
lib/rom/changeset/create.rb

Overview

Changeset specialization for create commands

See Also:

Constant Summary

Constants inherited from Stateful

Stateful::EMPTY_PIPE

Constants inherited from ROM::Changeset

DEFAULT_COMMAND_OPTS, VERSION

Instance Attribute Summary

Attributes inherited from Stateful

#__data__, #pipe

Attributes inherited from ROM::Changeset

#command_type, #relation

Instance Method Summary collapse

Methods inherited from Stateful

#associate, #commit, #data, default_pipe, #extend, extend, inherited, #inspect, #map, map, pipes, #result, #to_a, #to_h

Methods inherited from ROM::Changeset

[], command_type, #commit, #inspect, #new, relation

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ROM::Changeset::Stateful

Instance Method Details

#commandObject



11
12
13
# File 'lib/rom/changeset/create.rb', line 11

def command
  super.new(relation)
end