lib/populator/adapters/oracle.rb
def populate(table, columns, rows, name = nil)
        rows.each do |row|
          sql = "INSERT INTO #{table} #{columns} VALUES #{row}"
          log(sql, name) do
            @connection.exec(sql)
          end
        end
      end
# Executes SQL statements one at a time.
Executes SQL statements one at a time.
Executes SQL statements one at a time .
def populate(table, columns, rows, name = nil)
        rows.each do |row|
          sql = "INSERT INTO #{table} #{columns} VALUES #{row}"
          log(sql, name) do
            @connection.exec(sql)
          end
        end
      end
def populate ( table , columns , rows , name = nil ) rows . each do | row | sql = "INSERT INTO #{table} #{columns} VALUES #{row}" log ( sql , name ) do @connection . exec ( sql ) end end end
Executes SQL statements one at a time.
Executes SQL statements one at a time .
table
columns
rows
name