Sha256: 12edfa565327431ff9a946436b892841535cc3f81f1e1a2ec4645ca8fe5d1962
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true module Ductr module Sequel # # A lookup control that execute the query for a bunch of rows. # class BufferedLookup < Ductr::ETL::BufferedTransform # # Opens the database if needed, calls the job's method and pass the each block to it. # # @yield The each block # # @return [void] # def on_flush(&) call_method(adapter.db, buffer, &) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ductr-0.2.1 | lib/ductr/sequel/buffered_lookup.rb |
ductr-0.2.0 | lib/ductr/sequel/buffered_lookup.rb |