method
copy_table_data
v1.2.6 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::FirebirdAdapter
copy_table_data(from, to)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/firebird_adapter.rb, line 671
def copy_table_data(from, to)
execute "INSERT INTO #{to} SELECT * FROM #{from}", "Copy #{from} data to #{to}"
end