Method: Taps::Push#push_data
- Defined in:
- lib/taps/operation.rb
#push_data ⇒ Object
466 467 468 469 470 471 472 473 474 475 476 477 478 |
# File 'lib/taps/operation.rb', line 466 def push_data puts "Sending data" puts "#{tables.size} tables, #{format_number(record_count)} records" tables.each do |table_name, count| stream = Taps::DataStream.factory(db, :table_name => table_name, :chunksize => default_chunksize) progress = ProgressBar.new(table_name.to_s, count) push_data_from_table(stream, progress) end end |