Sha256: 4e3855deb9e4ad56912078a070c0e1419b64e4ea0e979dbbe3d93d894af5d405

Contents?: true

Size: 141 Bytes

Versions: 11

Compression:

Stored size: 141 Bytes

Contents

module Arel
  class Insert < Compound
    def eval
      unoperated_rows + [Row.new(self, record.values.collect(&:value))]
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
arel-compat-0.4.0 lib/arel/engines/memory/relations/writes.rb
arel-0.4.0 lib/arel/engines/memory/relations/writes.rb
arel-0.3.3 lib/arel/engines/memory/relations/writes.rb
arel-0.3.2 lib/arel/engines/memory/relations/writes.rb
arel-0.3.1 lib/arel/engines/memory/relations/writes.rb
arel-0.3.0 lib/arel/engines/memory/relations/writes.rb
arel-0.2.1 lib/arel/engines/memory/relations/writes.rb
arel-0.2.0 lib/arel/engines/memory/relations/writes.rb
arel-0.2.pre lib/arel/engines/memory/relations/writes.rb
arel-0.1.2 lib/arel/engines/memory/relations/writes.rb
arel-0.1.0 lib/arel/engines/memory/relations/writes.rb