Arel::Action
# File lib/arel/algebra/relations/writes.rb, line 18 18: def initialize(relation, record) 19: super(relation) 20: @record = record.bind(relation) 21: end
# File lib/arel/algebra/relations/writes.rb, line 23 23: def call 24: engine.create(self) 25: end
# File lib/arel/algebra/relations/writes.rb, line 27 27: def eval 28: unoperated_rows + [Row.new(self, record.values.collect(&:value))] 29: end
# File lib/arel/algebra/relations/writes.rb, line 31 31: def to_sql(include_returning = true) 32: compiler.insert_sql(include_returning) 33: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.