Sha256: b67069dd00533441ab3f075161c9a4d3850e10ba67b153639fd78792c02ff1f9
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true module Ductr module Sequel # # 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.1 | lib/ductr/sequel/basic_destination.rb |
ductr-0.2.0 | lib/ductr/sequel/basic_destination.rb |