Sha256: 477756aabcdd51318f5383f70291489e13ad7218b741720b567ccbc45b67cf09
Contents?: true
Size: 495 Bytes
Versions: 2
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true module Ductr module SequelBase # # A destination control that write rows one by one. # class BasicDestination < Ductr::ETL::Destination # # Opens the database if needed and call the job's method to insert one row at time. # # @param [Hash<Symbol, Object>] row The row to insert, preferably a Hash # # @return [void] # def write(row) call_method(adapter.db, row) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ductr-0.2.3 | lib/ductr/sequel_base/basic_destination.rb |
ductr-0.2.2 | lib/ductr/sequel_base/basic_destination.rb |