Class: Purview::Pullers::BaseSQL
- Includes:
- Mixins::Connection, Mixins::Dialect, Mixins::Helpers, Mixins::Logger
- Defined in:
- lib/purview/pullers/base_sql.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Mixins::Logger
#logger, #logger_opts, #logger_type, #with_context_logging
Methods included from Mixins::Helpers
#blank?, #coalesced, #filter_blank_values, #filter_nil_values, #present?, #timestamp, #with_timestamp, #zero?
Methods included from Mixins::Dialect
#dialect, #false_value, #null_value, #quoted, #sanitized, #true_value
Methods included from Mixins::Connection
#connect, #connection_opts, #with_new_connection, #with_new_or_existing_connection, #with_transaction
Methods inherited from Base
Constructor Details
This class inherits a constructor from Purview::Pullers::Base
Instance Method Details
#pull(window) ⇒ Object
4 5 6 7 8 |
# File 'lib/purview/pullers/base_sql.rb', line 4 def pull(window) with_new_connection do |connection| connection.execute(pull_sql(window) + additional_sql) end end |