aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/memory/relations/writes.rb
blob: 12c4f36c0d9708c83159dcb2c0c2064326a3a624 (plain) (blame)
1
2
3
4
5
6
7
module Arel
  class Insert < Compound
    def eval
      unoperated_rows + [Row.new(self, record.values.collect(&:value))]
    end
  end
end